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

raft: correct pendingConfIndex check for AutoLeave #12137

Merged
merged 1 commit into from
Jul 20, 2020

Conversation

BusyJay
Copy link
Contributor

@BusyJay BusyJay commented Jul 14, 2020

Close #12136.

Close etcd-io#12136

Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
@xiang90
Copy link
Contributor

xiang90 commented Jul 20, 2020

lgtm

@xiang90 xiang90 merged commit cc65671 into etcd-io:master Jul 20, 2020
@BusyJay BusyJay deleted the fix-12136 branch July 21, 2020 02:59
craig bot pushed a commit to cockroachdb/cockroach that referenced this pull request Nov 13, 2020
56233: *: upgrade etcd/raft to master r=knz a=tbg

We were using a custom fork that we picked up during our vgo transition,
but in the meantime upstream has turned `raft` into a small module which
has very few deps, and which we can switch back to.

Helpfully, this module already pins gogoproto v1.3+, which simplifies
PR #56147.

I did review the commits we're picking up here in etcd/raft and they look good. The ones worth pointing out are:

etcd-io/etcd#12137
etcd-io/etcd#12134
etcd-io/etcd#12163

These all seem to fix real bugs.

Release note: None


Co-authored-by: Tobias Grieger <tobias.b.grieger@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

raft will not leave joint state automatically anymore if leader steps down before advancing
2 participants