Skip to content

kvserver: don't write MinVersion in unit test#99124

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
pav-kv:dont-write-min-version
Mar 22, 2023
Merged

kvserver: don't write MinVersion in unit test#99124
craig[bot] merged 1 commit intocockroachdb:masterfrom
pav-kv:dont-write-min-version

Conversation

@pav-kv
Copy link
Copy Markdown
Collaborator

@pav-kv pav-kv commented Mar 21, 2023

The checkpoint creation code already writes this file. Since this is a unit test, we are not in a situation that this file can not exist (e.g. mixed versions situation), thus we don't need to write this file again.

Epic: none
Release note: none

@pav-kv pav-kv requested review from a team and erikgrinaker March 21, 2023 14:52
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@pav-kv pav-kv force-pushed the dont-write-min-version branch from 010b279 to 2c76951 Compare March 21, 2023 15:09
@pav-kv pav-kv requested a review from a team as a code owner March 21, 2023 15:09
The checkpoint creation code already writes this file. Since this is a unit
test, we are not in a situation that this file can not exist (e.g. mixed
versions situation), thus we don't need to write this file again.

Epic: none
Release note: none
@pav-kv pav-kv force-pushed the dont-write-min-version branch from 2c76951 to 0e4974e Compare March 22, 2023 09:49
@pav-kv
Copy link
Copy Markdown
Collaborator Author

pav-kv commented Mar 22, 2023

bors r=erikgrinaker

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 22, 2023

Build succeeded:

@craig craig bot merged commit 4be5775 into cockroachdb:master Mar 22, 2023
@pav-kv pav-kv deleted the dont-write-min-version branch March 22, 2023 12:02
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