Skip to content

storage: deflake TestStoreRangeMergeRaftSnapshot#37350

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
tbg:fix/TestStoreRangeMergeRaftSnapshot
May 7, 2019
Merged

storage: deflake TestStoreRangeMergeRaftSnapshot#37350
craig[bot] merged 1 commit intocockroachdb:masterfrom
tbg:fix/TestStoreRangeMergeRaftSnapshot

Conversation

@tbg
Copy link
Copy Markdown
Member

@tbg tbg commented May 7, 2019

Make sure Raft messages we wanted to be dropped are 100% dropped,
or the follower we were expecting to get a snapshot would get by
without one, confusing the test.

Note that this hasn't failed since roughly Christmas 2018, but
the bug is there (we've fixed similar ones in different places,
which is where I copied the snippet from). Might as well prevent
this from becoming an issue again in the future.

Closes #33006.

Release note: None

Make sure Raft message we wanted to be dropped are 100% dropped,
or the follower we were expecting to get a snapshot would get by
without one, confusing the test.

Note that this hasn't failed since roughly Christmas 2018, but
the bug is there (we've fixed similar ones in different places,
which is where I copied the snippet from). Might as well prevent
this from becoming an issue again in the future.

Closes cockroachdb#33006.

Release note: None
@tbg tbg requested a review from a team May 7, 2019 09:30
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@tbg
Copy link
Copy Markdown
Member Author

tbg commented May 7, 2019

bors r=nvanbenschoten

craig bot pushed a commit that referenced this pull request May 7, 2019
37350: storage: deflake TestStoreRangeMergeRaftSnapshot r=nvanbenschoten a=tbg

Make sure Raft messages we wanted to be dropped are 100% dropped,
or the follower we were expecting to get a snapshot would get by
without one, confusing the test.

Note that this hasn't failed since roughly Christmas 2018, but
the bug is there (we've fixed similar ones in different places,
which is where I copied the snippet from). Might as well prevent
this from becoming an issue again in the future.

Closes #33006.

Release note: None

Co-authored-by: Tobias Schottdorf <tobias.schottdorf@gmail.com>
@craig
Copy link
Copy Markdown
Contributor

craig bot commented May 7, 2019

Build succeeded

@craig craig bot merged commit 8209afe into cockroachdb:master May 7, 2019
@danhhz
Copy link
Copy Markdown
Contributor

danhhz commented May 7, 2019

I just got a failure in TestStoreRangeMergeRaftSnapshot in https://teamcity.cockroachdb.com/viewLog.html?buildId=1279557&tab=buildResultsDiv&buildTypeId=Cockroach_UnitTests_Test. Perhaps related to this?

@tbg tbg deleted the fix/TestStoreRangeMergeRaftSnapshot branch May 8, 2019 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

storage: TestStoreRangeMergeRaftSnapshot failed under stress

4 participants