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 committed Oct 6, 2023
1 parent 09cd7b2 commit 057c0ef
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 057c0ef

Please sign in to comment.