You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
catalog/lease: fix race condition with testing knob
Previously, the testing knob TestingDisableRangeFeedCheckpoint was read
without any mutex, which could lead to a race condition in certain tests
as detected by the race detector. To address this, this patch moves the
field into the lease manager as an atomic, since testing knobs are
copied, so they cannot store mutexes or atomics.
Fixes: #156182
Release note: None
0 commit comments