system.replication_constraint_stats reporting incorrect violations #70024
Labels
A-kv-observability
A-kv-replication-constraints
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-observability
Projects
After setting constraints on the
RANGE default
zone, thesystem.replication_constraint_stats
incorrectly report system ranges which are in violation of the zone configuration.To Reproduce
Create 9 nodes, with the following localities:
Then run:
Populating any user-created database correctly replicates based on the constraints and there are therefore no entries in the
system.replication_constraints_stats
table.However, ranges that belong to the
system
database do not conform to these constraints because they conform to theRANGE system
zone configuration instead. However, when queryingsystem.replication_constraints_stats
, system ranges can appear in here as a violation, for example:The system.replication_constraints_stats table should not be validating system ranges against default ranges. This table should not be populated as a result of the above zone configuration.
Verified on CRDB 21.1.6 and 21.1.8
Jira issue: CRDB-9905
The text was updated successfully, but these errors were encountered: