File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 11* Removed check the node is available for query and table service sessions
22* Refactored the ` balancers.PreferLocations() ` function - it is a clean/pure function
3- * Added ` balancers.WithNodeID() ` context modifier for define per request the YDB endpoint by NodeID
3+ * Added experimental ` balancers.WithNodeID() ` context modifier for define per request the YDB endpoint by NodeID
44
55## v3.74.2
66* Added description to scan errors with use query service client scanner
Original file line number Diff line number Diff line change 66 "github.com/ydb-platform/ydb-go-sdk/v3/internal/endpoint"
77)
88
9+ // WithNodeID returns the copy of context with NodeID which the client balancer will prefer on step of choose YDB endpoint step
10+ //
11+ // Experimental: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#experimental
912func WithNodeID (ctx context.Context , nodeID uint32 ) context.Context {
1013 return endpoint .WithNodeID (ctx , nodeID )
1114}
You can’t perform that action at this time.
0 commit comments