Skip to content

kvserver: remove unused snapshot log entry code#72310

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
tbg:snap-no-log
Nov 2, 2021
Merged

kvserver: remove unused snapshot log entry code#72310
craig[bot] merged 1 commit intocockroachdb:masterfrom
tbg:snap-no-log

Conversation

@tbg
Copy link
Copy Markdown
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
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
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.

🧹

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
Copy Markdown
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
Copy Markdown
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.

3 participants