Skip to content

kvserver: deflake TestBackpressureNotAppliedWhenReducingRangeSize#75598

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
irfansharif:220126.deflake-TestBackpressureNotAppliedWhenReducingRangeSize
Jan 27, 2022
Merged

kvserver: deflake TestBackpressureNotAppliedWhenReducingRangeSize#75598
craig[bot] merged 1 commit intocockroachdb:masterfrom
irfansharif:220126.deflake-TestBackpressureNotAppliedWhenReducingRangeSize

Conversation

@irfansharif
Copy link
Copy Markdown
Contributor

This test relies on a second node's span config rangefeed to have caught
up sufficiently with the global state such that a snapshot, when
applied, would construct a replica with the config this test attempts to
declare over the originating replica. Though very unlikely to occur
(repro-ed only once in hours GCE worker runs), it's possible. This patch
is a speculative fix for a failure observed only with manual stressing
on a SHA that included #75233.

(Also make some prominent span config logging a bit more consistent with
one another.)

Release note: None

This test relies on a second node's span config rangefeed to have caught
up sufficiently with the global state such that a snapshot, when
applied, would construct a replica with the config this test attempts to
declare over the originating replica. Though very unlikely to occur
(repro-ed only once in hours GCE worker runs), it's possible. This patch
is a speculative fix for a failure observed only with manual stressing
on a SHA that included cockroachdb#75233.

(Also make some prominent span config logging a bit more consistent with
one another.)

Release note: None
@irfansharif irfansharif requested a review from a team as a code owner January 27, 2022 03:29
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @arulajmani)

@irfansharif
Copy link
Copy Markdown
Contributor Author

Thanks.

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jan 27, 2022

Build succeeded:

@craig craig bot merged commit 83e2df7 into cockroachdb:master Jan 27, 2022
@irfansharif irfansharif deleted the 220126.deflake-TestBackpressureNotAppliedWhenReducingRangeSize branch January 27, 2022 12:21
irfansharif added a commit to irfansharif/cockroach that referenced this pull request Jan 27, 2022
...TestBackpressureNotAppliedWhenReducingRangeSize. Fixes cockroachdb#75609, a
regression we introduced in cockroachdb#75598. When waiting for a span config to
materialize on a given node, we were accidentally tripping up on it not
being found on the original. Not sure we this slipped CI.

Release note: None
irfansharif added a commit to irfansharif/cockroach that referenced this pull request Jan 27, 2022
...TestBackpressureNotAppliedWhenReducingRangeSize. Fixes cockroachdb#75609, a
regression we introduced in cockroachdb#75598. When waiting for a span config to
materialize on a given node, we were accidentally tripping up on it not
being found on the original. Not sure we this slipped CI.

Release note: None
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.

3 participants