-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
Fully Compatible
-
v8.0
-
CAR Team 2024-04-15
Several methods in ReplicationCoordinatorImpl invariant on (isRSTLLocked() || isLockFreeReadsOp()). The first check is a bit more expensive since we take a spinlock and perform a map lookup, whereas the second just checks an int. We should swap around the checks.