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: remove unused snapshot log entry code #72310

Merged
merged 1 commit into from
Nov 2, 2021

Conversation

tbg
Copy link
Member

@tbg tbg commented Nov 2, 2021

We used to have to send the raft log along with snapshots as a result of
(in the olden days) requiring all replicas to agree on the truncated
state. This hasn't been (generally) true as of v19.1 (#35701), though it
was still a possibility until v22.1 (#58088). This commit removes the
corresponding code.

Release note: None

@tbg tbg requested a review from a team as a code owner November 2, 2021 08:52
@cockroach-teamcity
Copy link
Member

This change is Reviewable

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.

🧹

pkg/kv/kvserver/store_snapshot.go Outdated Show resolved Hide resolved
We used to have to send the raft log along with snapshots as a result of
(in the olden days) requiring all replicas to agree on the truncated
state. This hasn't been (generally) true as of v19.1 (cockroachdb#35701), though it
was still a possibility until v22.1 (cockroachdb#58088). This commit removes the
corresponding code.

Release note: None
@tbg
Copy link
Member Author

tbg commented Nov 2, 2021

Just fixed the lint failures and kvserver passed locally, so going to try

bors r=erikgrinaker
TFTR!

@craig
Copy link
Contributor

craig bot commented Nov 2, 2021

Build succeeded:

@craig craig bot merged commit e69a074 into cockroachdb:master Nov 2, 2021
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.

None yet

3 participants