-
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.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
The Error: 13 INTERNAL: Received RST_STREAM
error is (probably) not retried for unary RPCs, such as Commit
. It appears that the error is only retried for streaming read/executeSQL calls:
nodejs-spanner/src/partial-result-stream.ts
Line 496 in 25ee749
(retryableCodes!.includes(err.code) || isRetryableInternalError(err)) |
Error: 13 INTERNAL: Received RST_STREAM with code 1
at Object.callErrorFromStatus (/app/node_modules/@grpc/grpc-js/build/src/call.js:31:19)
at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client.js:190:52)
at /app/node_modules/@grpc/grpc-js/build/src/call-stream.js:111:35
at Object.onReceiveStatus (/app/node_modules/grpc-gcp/build/src/index.js:73:29)
at InterceptingListenerImpl.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/call-stream.js:106:23)
at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:365:141)
at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:328:181)
at /app/node_modules/@grpc/grpc-js/build/src/call-stream.js:188:78
at processTicksAndRejections (node:internal/process/task_queues:78:11)
for call at
at ServiceClientImpl.makeUnaryRequest (/app/node_modules/@grpc/grpc-js/build/src/client.js:160:30)
at ServiceClientImpl.<anonymous> (/app/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)
at /app/node_modules/@google-cloud/spanner/build/src/v1/spanner_client.js:214:29
at /app/node_modules/google-gax/build/src/normalCalls/timeout.js:44:16
at repeat (/app/node_modules/google-gax/build/src/normalCalls/retries.js:80:25)
at /app/node_modules/google-gax/build/src/normalCalls/retries.js:118:13
at OngoingCall.call (/app/node_modules/google-gax/build/src/call.js:67:27)
at NormalApiCaller.call (/app/node_modules/google-gax/build/src/normalCalls/normalApiCaller.js:34:19)
at /app/node_modules/google-gax/build/src/createApiCall.js:81:30
Metadata
Metadata
Assignees
Labels
api: spannerIssues related to the googleapis/nodejs-spanner API.Issues related to the googleapis/nodejs-spanner API.priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.