Skip to content

storage: range does not match splits #32784

@tbg

Description

@tbg
--- FAIL: TestSplitTriggerRaftSnapshotRace (10.79s)
	client_split_test.go:562: "key-53": split unexpected error: split at key "key-53" failed: replica corruption (processed=true): range does not match splits: ("key-45"-"key-53") + ("key-53"-/Table/SystemConfigSpan/Start) != [n1,s1,r10/1:/Table/1{3-4}]


11946 runs completed, 1 failures, over 57m7s

via

git fetch tbg && git checkout fix/split-trigger-wait && git reset --hard @{upstream} && make stress PKG=./pkg/storage/ TESTS=SplitTriggerRaftSnap | tee log

(i.e. just use master once #32782 is in).

I think this is a merge bug, based on this not failing before I changed the test to allow merges.

Two repros attached.
crash1.txt
crash2.txt

Metadata

Metadata

Assignees

Labels

C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.S-2-temp-unavailabilityTemp crashes or other availability problems. Can be worked around or resolved by restarting.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions