-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
storage: deflake TestRefreshPendingCommands #12425
storage: deflake TestRefreshPendingCommands #12425
Conversation
Reviewed 1 of 1 files at r1. Comments from Reviewable |
Ha, I ran stress for 10m, then sent this PR and then the stress failed. Gah. There is something else that is also requesting the lease again. |
a755b5c
to
89881b7
Compare
Second attempt. I'm trying to spur the inevitable failure by proclaiming that the flakiness is really fixed this time. PTAL. |
Making progress:
Before this PR the above @spencerkimball, @andreimatei How could the above error occur? |
Consulted with @andreimatei in person and he doesn't know how this error is being generated. I've added more logging and will reproduce. |
PS We saw this error before. We eventually attributed the error to strangeness in |
Node liveness heartbeats were causing a range lease to be reacquired when the test was waiting for them to be drained. Due to the manual clock, the draining would never properly complete. Fixes cockroachdb#11771
691bf11
to
79838d5
Compare
Merging as this removes one source of flakiness from this test. I'll tackle the next bit of flakiness in a separate PR. |
Node liveness heartbeats were causing a range lease to be reacquired
when the test was waiting for them to be drained. Due to the manual
clock, the draining would never properly complete.
Fixes #11771
This change is