cockroachdb / cockroachdb/cockroach

kv: serializable non-locking reads should not block on exclusive locks

Open
#117,627 0 comments 0 reactions 0 assignees View on GitHub
A-kv-transactions C-enhancement O-support P-3 T-kv
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

`kv.lock.exclusive_locks_block_non_locking_reads.enabled` dictates whether exclusive locks block serializable non-locking reads. It defaults to true for compatibility reasons, but we'd like for it to default to false (and then be removed).

To address this, we'll likely need to address https://github.com/cockroachdb/cockroach/issues/91417 first to avoid regressions in workloads like YCSB.

Jira issue: CRDB-35279

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.