@@ -729,10 +729,10 @@ public static class Builder
729
729
ImmutableSet .copyOf (
730
730
Lists .<StatusCode .Code >newArrayList (
731
731
StatusCode .Code .UNAVAILABLE , StatusCode .Code .DEADLINE_EXCEEDED )));
732
- definitions .put (
733
- "no_retry_1_codes" , ImmutableSet .copyOf (Lists .<StatusCode .Code >newArrayList ()));
734
732
definitions .put (
735
733
"no_retry_3_codes" , ImmutableSet .copyOf (Lists .<StatusCode .Code >newArrayList ()));
734
+ definitions .put (
735
+ "no_retry_1_codes" , ImmutableSet .copyOf (Lists .<StatusCode .Code >newArrayList ()));
736
736
RETRYABLE_CODE_DEFINITIONS = definitions .build ();
737
737
}
738
738
@@ -762,14 +762,6 @@ public static class Builder
762
762
.setTotalTimeout (Duration .ofMillis (60000L ))
763
763
.build ();
764
764
definitions .put ("retry_policy_2_params" , settings );
765
- settings =
766
- RetrySettings .newBuilder ()
767
- .setInitialRpcTimeout (Duration .ofMillis (60000L ))
768
- .setRpcTimeoutMultiplier (1.0 )
769
- .setMaxRpcTimeout (Duration .ofMillis (60000L ))
770
- .setTotalTimeout (Duration .ofMillis (60000L ))
771
- .build ();
772
- definitions .put ("no_retry_1_params" , settings );
773
765
settings =
774
766
RetrySettings .newBuilder ()
775
767
.setInitialRpcTimeout (Duration .ofMillis (3600000L ))
@@ -778,6 +770,14 @@ public static class Builder
778
770
.setTotalTimeout (Duration .ofMillis (3600000L ))
779
771
.build ();
780
772
definitions .put ("no_retry_3_params" , settings );
773
+ settings =
774
+ RetrySettings .newBuilder ()
775
+ .setInitialRpcTimeout (Duration .ofMillis (60000L ))
776
+ .setRpcTimeoutMultiplier (1.0 )
777
+ .setMaxRpcTimeout (Duration .ofMillis (60000L ))
778
+ .setTotalTimeout (Duration .ofMillis (60000L ))
779
+ .build ();
780
+ definitions .put ("no_retry_1_params" , settings );
781
781
RETRY_PARAM_DEFINITIONS = definitions .build ();
782
782
}
783
783
@@ -957,8 +957,8 @@ private static Builder initDefaults(Builder builder) {
957
957
958
958
builder
959
959
.deleteTableSettings ()
960
- .setRetryableCodes (RETRYABLE_CODE_DEFINITIONS .get ("no_retry_1_codes " ))
961
- .setRetrySettings (RETRY_PARAM_DEFINITIONS .get ("no_retry_1_params " ));
960
+ .setRetryableCodes (RETRYABLE_CODE_DEFINITIONS .get ("no_retry_0_codes " ))
961
+ .setRetrySettings (RETRY_PARAM_DEFINITIONS .get ("no_retry_0_params " ));
962
962
963
963
builder
964
964
.undeleteTableSettings ()
@@ -1002,8 +1002,8 @@ private static Builder initDefaults(Builder builder) {
1002
1002
1003
1003
builder
1004
1004
.deleteSnapshotSettings ()
1005
- .setRetryableCodes (RETRYABLE_CODE_DEFINITIONS .get ("no_retry_1_codes " ))
1006
- .setRetrySettings (RETRY_PARAM_DEFINITIONS .get ("no_retry_1_params " ));
1005
+ .setRetryableCodes (RETRYABLE_CODE_DEFINITIONS .get ("no_retry_0_codes " ))
1006
+ .setRetrySettings (RETRY_PARAM_DEFINITIONS .get ("no_retry_0_params " ));
1007
1007
1008
1008
builder
1009
1009
.createBackupSettings ()
@@ -1022,8 +1022,8 @@ private static Builder initDefaults(Builder builder) {
1022
1022
1023
1023
builder
1024
1024
.deleteBackupSettings ()
1025
- .setRetryableCodes (RETRYABLE_CODE_DEFINITIONS .get ("no_retry_1_codes " ))
1026
- .setRetrySettings (RETRY_PARAM_DEFINITIONS .get ("no_retry_1_params " ));
1025
+ .setRetryableCodes (RETRYABLE_CODE_DEFINITIONS .get ("no_retry_0_codes " ))
1026
+ .setRetrySettings (RETRY_PARAM_DEFINITIONS .get ("no_retry_0_params " ));
1027
1027
1028
1028
builder
1029
1029
.listBackupsSettings ()
0 commit comments