@google-cloud/spanner 8.2.0 → 8.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -0
- package/build/protos/google/spanner/v1/keys.proto +2 -2
- package/build/protos/google/spanner/v1/mutation.proto +31 -23
- package/build/protos/google/spanner/v1/query_plan.proto +21 -18
- package/build/protos/google/spanner/v1/spanner.proto +198 -204
- package/build/protos/google/spanner/v1/transaction.proto +3 -2
- package/build/protos/protos.json +3 -1
- package/build/src/metrics/interceptor.js +3 -1
- package/build/src/v1/spanner_client.d.ts +155 -159
- package/build/src/v1/spanner_client.js +47 -52
- package/package.json +2 -2
|
@@ -166,8 +166,9 @@ message TransactionOptions {
|
|
|
166
166
|
// actually occurred in parallel. Spanner assigns commit timestamps that
|
|
167
167
|
// reflect the order of committed transactions to implement this property.
|
|
168
168
|
// Spanner offers a stronger guarantee than serializability called external
|
|
169
|
-
// consistency. For
|
|
170
|
-
//
|
|
169
|
+
// consistency. For more information, see
|
|
170
|
+
// [TrueTime and external
|
|
171
|
+
// consistency](https://cloud.google.com/spanner/docs/true-time-external-consistency#serializability).
|
|
171
172
|
SERIALIZABLE = 1;
|
|
172
173
|
|
|
173
174
|
// All reads performed during the transaction observe a consistent snapshot
|
package/build/protos/protos.json
CHANGED
|
@@ -8263,7 +8263,9 @@
|
|
|
8263
8263
|
"Session": {
|
|
8264
8264
|
"options": {
|
|
8265
8265
|
"(google.api.resource).type": "spanner.googleapis.com/Session",
|
|
8266
|
-
"(google.api.resource).pattern": "projects/{project}/instances/{instance}/databases/{database}/sessions/{session}"
|
|
8266
|
+
"(google.api.resource).pattern": "projects/{project}/instances/{instance}/databases/{database}/sessions/{session}",
|
|
8267
|
+
"(google.api.resource).plural": "sessions",
|
|
8268
|
+
"(google.api.resource).singular": "session"
|
|
8267
8269
|
},
|
|
8268
8270
|
"fields": {
|
|
8269
8271
|
"name": {
|
|
@@ -66,7 +66,9 @@ const MetricInterceptor = (options, nextCall) => {
|
|
|
66
66
|
metricsTracer?.recordAfeLatency(status.code);
|
|
67
67
|
}
|
|
68
68
|
else {
|
|
69
|
-
|
|
69
|
+
// Disable afe_connectivity_error_count metric as AFE header is disabled in backend
|
|
70
|
+
// currently.
|
|
71
|
+
// metricsTracer?.recordAfeConnectivityErrorCount(status.code);
|
|
70
72
|
}
|
|
71
73
|
},
|
|
72
74
|
};
|