Does this patch apply easily to the main (v0.9) branch ? Because if it does it would be nice to have it there, to minimize divergence between the two.
The same can be achieved with #[derive(Serialize, Deserialize)]
+ #[serde(transparent)]
In degraded mode, we will have write_quorum = replication_mode, but that doesn't seem right?
Does this work for values written in lowercase? Because the enum variants start with a capital letter.
Did you mean write_quorum instead of read_quorum ?
Is the default value (empty string) parsed the same as "consistent" ?
We probably want a migration path, or at least a safeguard, for people that don't update their config files and continue using the old replication_mode
variable.
Did you mean write_quorum instead of read_quorum?