File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1- * Added reason of internal topic writer reconnect to logs
1+ * "No endpoints" is retriable error now
22
33## v3.99.3
44* Fixed potential infinity loop for local dc detection (CWE-835)
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import (
1010 "google.golang.org/grpc"
1111
1212 "github.com/ydb-platform/ydb-go-sdk/v3/config"
13+ "github.com/ydb-platform/ydb-go-sdk/v3/internal/backoff"
1314 balancerConfig "github.com/ydb-platform/ydb-go-sdk/v3/internal/balancer/config"
1415 "github.com/ydb-platform/ydb-go-sdk/v3/internal/conn"
1516 "github.com/ydb-platform/ydb-go-sdk/v3/internal/credentials"
@@ -28,7 +29,7 @@ import (
2829)
2930
3031var (
31- ErrNoEndpoints = xerrors .Wrap (fmt .Errorf ("no endpoints" ))
32+ ErrNoEndpoints = xerrors .Wrap (xerrors . Retryable ( fmt .Errorf ("no endpoints" ), xerrors . WithBackoff ( backoff . TypeSlow ) ))
3233 errBalancerClosed = xerrors .Wrap (fmt .Errorf ("internal ydb sdk balancer closed" ))
3334)
3435
You can’t perform that action at this time.
0 commit comments