-
Notifications
You must be signed in to change notification settings - Fork 110
Labels
api: spannerIssues related to the googleapis/nodejs-spanner API.Issues related to the googleapis/nodejs-spanner API.samplesIssues that are directly related to samples.Issues that are directly related to samples.
Description
Version v3.0.0 introduced a breaking change where timestamp bounds now expect milliseconds precision but in the sample code there is a comment that staleness is specified in seconds. Same issue is also present in the documentation for the client library.
Sample should have following options to perform 15 seconds stale read:
const options = {
// Guarantees that all writes committed more than 15 seconds ago are visible
exactStaleness: 15000,
};
Metadata
Metadata
Assignees
Labels
api: spannerIssues related to the googleapis/nodejs-spanner API.Issues related to the googleapis/nodejs-spanner API.samplesIssues that are directly related to samples.Issues that are directly related to samples.