cockroachdb / cockroachdb/cockroach

kvserver: remove special case handling of Liveness range

Open
#101,741 0 comments 0 reactions 0 assignees View on GitHub
C-enhancement
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Various places in the code directly use the liveness keys to make decisions to reduce the use of the liveness range. Some of these are being removed as part of #101023, however, there are still places that directly reference `NodeLivenessPrefix`, `NodeLivenessMax`, or `NodeLivenessSpan` to make decisions.

We should audit and clean up any incorrect usage of this. Generally, the usage concerns behavior around splits, gossiping, prioritization and requiring 1PC. Most of these will not be necessary anymore.

Jira issue: CRDB-27116

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.