darshan-sj commented on code in PR #26727:
URL: https://github.com/apache/beam/pull/26727#discussion_r1196812372
##########
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/SpannerAccessor.java:
##########
@@ -113,6 +113,9 @@ private static SpannerAccessor
createAndConnect(SpannerConfig spannerConfig) {
SpannerOptions.Builder builder = SpannerOptions.newBuilder();
Set<Code> retryableCodes = new HashSet<>();
+ // Add default retryable codes
+ retryableCodes.addAll(
+
builder.getSpannerStubSettingsBuilder().executeStreamingSqlSettings().getRetryableCodes());
Review Comment:
bifurcated between unary method retryable codes and streaming retryable
codes and added their corresponding defaults.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]