Skip to content

Commit 5f0e1bf

Browse files
committed
concurrency: disable kv.lock_table.unreplicated_lock_reliability.split.enabled
In cockroachdb#155318, we discovered that the RHS replica's lock table may already have concurrently running transactions holding locks. As a result, adding these locks may put the lock table in an unexpected state. Informs cockroachdb#155318 Release note (bug fix): Disable a feature (kv.lock_table.unreplicated_lock_reliability.split.enabled) that could lead to a node crash.
1 parent eee1425 commit 5f0e1bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kv/kvserver/concurrency/concurrency_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ var UnreplicatedLockReliabilitySplit = settings.RegisterBoolSetting(
123123
settings.SystemOnly,
124124
"kv.lock_table.unreplicated_lock_reliability.split.enabled",
125125
"whether the replica should attempt to keep unreplicated locks during range splits",
126-
metamorphic.ConstantWithTestBool("kv.lock_table.unreplicated_lock_reliability.split.enabled", true),
126+
false,
127127
)
128128

129129
// UnreplicatedLockReliabilityLeaseTransfer controls whether the replica will attempt

0 commit comments

Comments
 (0)