Activity log for bug #1814735

Date Who What changed Old value New value Message
2019-02-05 12:15:12 John A Meinel bug added bug
2019-02-05 12:15:19 John A Meinel tags leade raft leadership raft
2019-02-05 12:15:57 John A Meinel description Currently the raft lease engine ignores requests to Refresh the state. However, we know that the FSM can be locally out of sync with the master. We could change Store.Refresh() to be a wait-until-next-appendEntries call, so that we know that any recent changes on primayr have been acknowledged. It isn't a pure sync, but it does handle the case that 1-of-3 replicas is slightly behind, and gets a request that it thinks it can handle, but gets denied by the primary. Currently the raft lease engine ignores requests to Refresh the state. However, we know that the FSM can be locally out of sync with the master. We could change Store.Refresh() to be a wait-until-next-appendEntries call, so that we know that any recent changes on primayr have been acknowledged. It isn't a pure sync, but it does handle the case that 1-of-3 replicas is slightly behind, and gets a request that it thinks it can handle, but gets denied by the primary. The code was already written such that it would reread from Mongo when it saw the chance for stale information, we're just using the same synchronization points when we think we see stale information from the FSM as well.
2022-11-03 15:42:36 Canonical Juju QA Bot juju: importance Medium Low
2022-11-03 15:42:37 Canonical Juju QA Bot tags leadership raft expirebugs-bot leadership raft