Skip to content

fix: raft snapshot sync#435

Open
kroggen wants to merge 12 commits into
developfrom
fix/raft-snapshot-sync
Open

fix: raft snapshot sync#435
kroggen wants to merge 12 commits into
developfrom
fix/raft-snapshot-sync

Conversation

@kroggen

@kroggen kroggen commented Apr 15, 2026

Copy link
Copy Markdown
Member

No description provided.

@kroggen kroggen requested a review from hayarobi April 16, 2026 01:59
if node == nil {
return ErrRaftNotReady
}
// A MsgHeartbeat from the leader carries the leader's current commit index.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I am concerned that this modification might cause other side effects. I think it's better waiting for the synchronization tests on some more cases.

@kroggen kroggen changed the title fix: persist raft snapshot before hardstate fix: raft snapshot sync Apr 18, 2026
Comment thread consensus/impl/raftv2/blockfactory.go Outdated
@kroggen kroggen force-pushed the fix/raft-snapshot-sync branch from 93b0973 to 6f907ab Compare April 24, 2026 07:34
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.

2 participants