From dcc8a0ad3d70b3791e1d567bfcc5fa5366a926dc Mon Sep 17 00:00:00 2001 From: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> Date: Wed, 11 Oct 2023 20:41:36 +0300 Subject: [PATCH] [release-18.0] Tablet throttler: fix race condition by removing goroutine call (#14179) (#14198) --- go/vt/vttablet/tabletserver/throttle/throttler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/vt/vttablet/tabletserver/throttle/throttler.go b/go/vt/vttablet/tabletserver/throttle/throttler.go index 7c681c4b293..6558b052c9a 100644 --- a/go/vt/vttablet/tabletserver/throttle/throttler.go +++ b/go/vt/vttablet/tabletserver/throttle/throttler.go @@ -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: