-
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
kvserver: disable replicate queue and lease transfers in closedts tests #107531
kvserver: disable replicate queue and lease transfers in closedts tests #107531
Conversation
For a more holistic suggestion on how to fix this for the likely many other tests susceptible to similar issues, see: cockroachdb#107528 Fixes cockroachdb#101824. Release note: None Epic: none
6fc4e57
to
2c72155
Compare
Adopt setupClusterForClosedTSTesting which wraps setupClusterWithDummyRange with goodies such as cockroachdb#107531.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be better to set ReplicationManual
for them all?
Yes, some of them do. I'll see if I can audit + maybe do the upreplication that is needed manually. But this affects like 20 tests I think, so I was shying away from that initially. |
Won't that have the same effect in practice? It also disables the split/merge queues, but otherwise it basically just disables the replicate queue. Not worth a long yak shave, but if it takes like 5 minutes then go for it. |
I'll take a look at this in #107533, where I'm also in the area. TFTR! bors r=erikgrinaker |
Build succeeded: |
Adopt setupClusterForClosedTSTesting which wraps setupClusterWithDummyRange with goodies such as cockroachdb#107531.
107525: rangefeed: add `BenchmarkRangefeed` r=erikgrinaker a=erikgrinaker Resolves #107440. Epic: none Release note: None 107533: kvserver: improve TestClosedTimestampFrozenAfterSubsumption r=erikgrinaker a=tbg Adopt setupClusterForClosedTSTesting which wraps setupClusterWithDummyRange with goodies such as #107531. Fixes #107179[^1] [^1]: #107179 (comment) Epic: None Release note: None Co-authored-by: Erik Grinaker <[email protected]> Co-authored-by: Tobias Grieger <[email protected]>
blathers backport 23.1 22.2 |
Adopt setupClusterForClosedTSTesting which wraps setupClusterWithDummyRange with goodies such as #107531.
For a more holistic suggestion on how to fix this for the likely many other
tests susceptible to similar issues, see:
#107528
Fixes #101824.
Release note: None
Epic: none