Johansen Hu
Johansen Hu
One possible solution would be to take a snapshot only if there is no uncommitted configuration, and to restore the configuration from the snapshot if there is no configuration entry...
https://github.com/canonical/raft/blob/cbb9cd7ec16c758828b118c4c0260a651c2ac002/src/start.c#L16-L87 The most recent configuration might not be a committed one, which would probably lead to another membership rollback issue.
> > One possible solution would be to take a snapshot only if there is no uncommitted configuration, and to restore the configuration from the snapshot if there is no...