Skip to content

roachtest: fix replicagc-changed-peers (again)#68156

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
tbg:fix-replicagc-again
Jul 29, 2021
Merged

roachtest: fix replicagc-changed-peers (again)#68156
craig[bot] merged 1 commit intocockroachdb:masterfrom
tbg:fix-replicagc-again

Conversation

@tbg
Copy link
Copy Markdown
Member

@tbg tbg commented Jul 28, 2021

I wrote buggy code. Since it isn't hit in every invocation, it slipped
through my local testing.

Fixes #68155
Fixes #68162

Release note: None

I wrote buggy code. Since it isn't hit in every invocation, it slipped
through my local testing.

Fixes cockroachdb#68155

Release note: None
@tbg tbg requested a review from a team as a code owner July 28, 2021 08:22
@tbg tbg requested review from a team and erikgrinaker and removed request for a team July 28, 2021 08:22
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@tbg
Copy link
Copy Markdown
Member Author

tbg commented Jul 28, 2021

Going to run this with a modified version of the code where we always produce some rows at least a few times, to check that it now actually works.

@tbg
Copy link
Copy Markdown
Member Author

tbg commented Jul 29, 2021

The good news is - this new code works. The bad news is, the test legit fails at this point:

09:17:28 test_impl.go:323: test failure: 	replicagc.go:293,replicagc.go:102,replicagc.go:36,test_runner.go:770: ranges remained on n3 (according to meta2): map[22:{3,4,5} 47:{3,4,6} 58:{3,4,6}]

Still going to merge this, as it does fix the test, though not the problem the test finds.

bors r=erikgrinaker

@craig craig bot merged commit f7507c2 into cockroachdb:master Jul 29, 2021
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jul 29, 2021

Build succeeded:

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.

roachtest: replicagc-changed-peers/restart=true failed roachtest: replicagc-changed-peers/restart=false failed

3 participants