Skip to content

Commit 17640f5

Browse files
committed
* Added touching of last updated timestamp in existing conns on stage of applying new endpoint list
1 parent a0ce1cf commit 17640f5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
* Added touching of last updated timestamp in existing conns on stage of applying new endpoint list
2+
13
## v3.29.3
24
* Reverted `xerrors.IsTransportError(err)` behaviour for raw grpc errors to false
35

internal/balancer/balancer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ func (b *balancer) applyDiscoveredEndpoints(ctx context.Context, endpoints []end
7777
connections := endpointsToConnections(b.pool, endpoints)
7878
for _, c := range connections {
7979
b.pool.Allow(ctx, c)
80+
c.Endpoint().Touch()
8081
}
8182

8283
info := balancerConfig.Info{SelfLocation: localDC}

0 commit comments

Comments
 (0)