Skip to content
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

Conversation

tbg
Copy link
Member

@tbg tbg commented Jul 25, 2023

For a more holistic suggestion on how to fix this for the likely many other
tests susceptible to similar issues, see:
#107528

1171 runs so far, 0 failures, over 15m55s

Fixes #101824.

Release note: None
Epic: none

@cockroach-teamcity
Copy link
Member

This change is Reviewable

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
@tbg tbg force-pushed the TestClosedTimestampCantServeWithConflictingIntent branch from 6fc4e57 to 2c72155 Compare July 25, 2023 14:40
tbg added a commit to tbg/cockroach that referenced this pull request Jul 25, 2023
Adopt setupClusterForClosedTSTesting which wraps setupClusterWithDummyRange with goodies such as cockroachdb#107531.
@tbg tbg added the db-cy-23 label Jul 25, 2023
@tbg tbg marked this pull request as ready for review July 26, 2023 07:15
@tbg tbg requested a review from a team as a code owner July 26, 2023 07:15
Copy link
Contributor

@erikgrinaker erikgrinaker left a 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?

@tbg
Copy link
Member Author

tbg commented Jul 26, 2023

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.

@erikgrinaker
Copy link
Contributor

erikgrinaker commented Jul 26, 2023

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.

@tbg
Copy link
Member Author

tbg commented Jul 26, 2023

I'll take a look at this in #107533, where I'm also in the area.

TFTR!

bors r=erikgrinaker

@craig
Copy link
Contributor

craig bot commented Jul 26, 2023

Build succeeded:

@craig craig bot merged commit f147c2b into cockroachdb:master Jul 26, 2023
7 checks passed
tbg added a commit to tbg/cockroach that referenced this pull request Jul 26, 2023
Adopt setupClusterForClosedTSTesting which wraps setupClusterWithDummyRange with goodies such as cockroachdb#107531.
@tbg tbg deleted the TestClosedTimestampCantServeWithConflictingIntent branch July 26, 2023 11:26
craig bot pushed a commit that referenced this pull request Jul 26, 2023
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 <grinaker@cockroachlabs.com>
Co-authored-by: Tobias Grieger <tobias.b.grieger@gmail.com>
@erikgrinaker
Copy link
Contributor

blathers backport 23.1 22.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kv/kvserver: TestClosedTimestampCantServeWithConflictingIntent failed
3 participants