You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
155844: sql/inspect: detect dangling secondary index entries in empty spans r=spilchen a=spilchen
INSPECT previously skipped index consistency checks when the primary index span had no rows, preventing detection of dangling secondary index entries in empty tables.
This change ensures INSPECT always scans secondary indexes, even if the primary is empty, by using an empty predicate to trigger a full scan. Any entries found are considered dangling.
Adds a test (TestDanglingIndexEntryInEmptyTable) migrated from pkg/sql/scrub_test.go.
Informs #155485
Epic: CRDB-55075
Release note (bug fix): INSPECT now detects dangling secondary index entries even when the primary index spans contain no data.
156009: kv: relax bounds for YCSB splits tests r=arulajmani a=arulajmani
We've seen variants of YCSB A and B fail with both higher and lower number of splits. In response, we've changed the bounds of both these variants independently. The commentary suggests the number of splits here should be the same for both variants; this patch makes it such, picking the max upper bound and min lower bound across the two variants.
Closes#155951
Release note: None
Co-authored-by: Matt Spilchen <matt.spilchen@cockroachlabs.com>
Co-authored-by: Arul Ajmani <arulajmani@gmail.com>
0 commit comments