You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2018. It is now read-only.
} elseifentry.index==lastEntry.index&&entry.index<=lastEntry.index {
returnfmt.Errorf("raft.Log: Cannot append entry with earlier index in the same term (%x:%x <= %x:%x)", entry.term, entry.index, lastEntry.term, lastEntry.index)
}
Should the first condition be entry.term == lastEntry.term?
The text was updated successfully, but these errors were encountered:
@peterbourgon Thanks for finding that. You're really digging into the code! It's checked in with this commit (2efa6b4) along with a whole bunch of other changes. I have raftd almost working. Leader election is in place and log replication is almost there. I'll send you an e-mail when it's working.
log.go:390:
Should the first condition be
entry.term == lastEntry.term
?The text was updated successfully, but these errors were encountered: