hot fix to ensure bin compat. of RaftState
@@ -567,6 +567,7 @@ impl EntryApplyProgressQueue {
pub struct Persistent {
#[serde(with = "RaftStateDef")]
state: RaftState,
+ #[serde(default)] // TODO quick fix to avoid breaking the compat. with 0.8.1
latest_snapshot_meta: SnapshotMetadataSer,
apply_progress_queue: EntryApplyProgressQueue,
#[serde(with = "serialize_peer_addresses")]
