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

set gcmode=archive always for Raft #727

Merged
merged 5 commits into from
Jul 5, 2019
Merged

Conversation

amalrajmani
Copy link
Contributor

With gcmode=full(feature introduced from quorum 2.2.0 onwards) Raft is not able to sync up when a node is restarted after crash or force kill.
This fix will set gcmode=archive always for Raft as per quorum.2.1.1

@jpmsam jpmsam merged commit 4268ec0 into master Jul 5, 2019
@jimthematrix
Copy link
Contributor

@jpmsam @prd-fox thanks for making this fix, exactly what we need which we were looking into but then saw this fix. I have a question though, if I have an existing Raft chain and all of the nodes are running in gcmode=full with Quorum release 2.2.3, and I upgrade the chain nodes to this release, will the chain continue to function? what happens if a gcmode=archive node finds that it's missing states older than the 128-block window?

@fixanoid fixanoid deleted the fix/raft-gcmode-archive branch September 12, 2019 14:12
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