Skip to content

Commit

Permalink
[release-16.0] Tablet throttler: fix race condition by removing gorou…
Browse files Browse the repository at this point in the history
…tine call (#14179) (#14200)
  • Loading branch information
shlomi-noach authored Oct 11, 2023
1 parent 774f5ff commit 266b2d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vttablet/tabletserver/throttle/throttler.go
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ func (throttler *Throttler) Operate(ctx context.Context) {
{
// sparse
if atomic.LoadInt64(&throttler.isOpen) > 0 {
go throttler.refreshMySQLInventory(ctx)
throttler.refreshMySQLInventory(ctx)
}
}
case probes := <-throttler.mysqlClusterProbesChan:
Expand Down

0 comments on commit 266b2d8

Please sign in to comment.