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 ToIsLearner flag from RaftHeartbeat #51691

Merged
merged 1 commit into from
Jul 23, 2020

Conversation

nvanbenschoten
Copy link
Member

This commit removes the ToIsLearner flag from the RaftHeartbeat message. This is allowed because 20.2 no longer need to deal with preemptive snapshots. This completes @ajwerner's heroic migration started in 99a031d and followed up by b2850e1.

This commit removes the ToIsLearner flag from the RaftHeartbeat message.
This is allowed because 20.2 no longer need to deal with preemptive
snapshots. This completes the migration started in 99a031d and followed
up by b2850e1.
@nvanbenschoten nvanbenschoten requested a review from ajwerner July 22, 2020 02:20
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm: thanks

Reviewed 6 of 6 files at r1.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

@nvanbenschoten
Copy link
Member Author

bors r+

@nvanbenschoten
Copy link
Member Author

TFTR!

@craig
Copy link
Contributor

craig bot commented Jul 22, 2020

Canceled (will resume)

@yuzefovich
Copy link
Member

bors crashed, so here is a courtesy ping.

bors r+

@craig
Copy link
Contributor

craig bot commented Jul 22, 2020

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Jul 23, 2020

Build succeeded:

@craig craig bot merged commit 2032f53 into cockroachdb:master Jul 23, 2020
@nvanbenschoten nvanbenschoten deleted the nvanbenschoten/toIsLearner branch July 23, 2020 21:14
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.

4 participants