Skip to content

Commit 2e9b4b2

Browse files
author
Roman Golov
committed
Use balancer connection with metadata for operation service.
1 parent 1b6f358 commit 2e9b4b2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
* Fixed metadata for operation service connection
12
* Fixed composing query traces in call `db.Query.Do[Tx]` using option `query.WithTrace`
23

34
## v3.80.2

driver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ func (d *Driver) connect(ctx context.Context) (err error) {
519519

520520
d.operation = xsync.OnceValue(func() (*operation.Client, error) {
521521
return operation.New(xcontext.ValueOnly(ctx),
522-
d.pool.Get(endpoint.New(d.config.Endpoint())),
522+
d.balancer,
523523
), nil
524524
})
525525

0 commit comments

Comments
 (0)