Skip to content

Commit

Permalink
Tablet throttler: fix race condition by removing goroutine call (#14179)
Browse files Browse the repository at this point in the history
Signed-off-by: Shlomi Noach <[email protected]>
  • Loading branch information
shlomi-noach authored Oct 5, 2023
1 parent 963b48d commit 6a963dc
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 @@ -682,7 +682,7 @@ func (throttler *Throttler) Operate(ctx context.Context) {
{
// sparse
if throttler.IsOpen() {
go throttler.refreshMySQLInventory(ctx)
throttler.refreshMySQLInventory(ctx)
}
}
case probes := <-throttler.mysqlClusterProbesChan:
Expand Down

0 comments on commit 6a963dc

Please sign in to comment.