aboutsummaryrefslogtreecommitdiffstats
path: root/src/config/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-19 14:09:05 +0000
committertv <tv@krebsco.de>2026-11-19 15:18:42 +0100
commitf85298c40c2528ee801c14a10a7db8920b50fdf8 (patch)
tree1eef6e26be145d819b5280142f9a6aa277ec4b3f /src/config/mod.rs
parent59d8d6f9c4f539ac9392872026d99a93f66102ee (diff)
vote: the version that moved the store counts not toward the next checkpoint
`--store-propose-versions` counted the versions since the checkpoint's version, the one current at its heads. The version that moved the store there is written after its heads, so it counted: with 1, a node proposed a checkpoint again as soon as it backed one (`--store-back-after` after the move), and the next one, and so on, every ten minutes for good. It counts the versions written since that change more than moving to a checkpoint now (`State::changed_since_checkpoint`): with 1, one checkpoint after every other version, and none after a checkpoint. The test goes on past the move.
Diffstat (limited to 'src/config/mod.rs')
-rw-r--r--src/config/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs
index 3b8d305..caecb49 100644
--- a/src/config/mod.rs
+++ b/src/config/mod.rs
@@ -310,7 +310,7 @@ pub(crate) const OPTIONS: &[OptionSpec] = &[
Kind::Integer,
"COUNT",
None,
- "With store-vote-key: propose a checkpoint, as store-propose-events, once this many versions were written since its store's checkpoint: with 1, after every version, so that what keys voting twice could grow beside it at a history from before ends there.",
+ "With store-vote-key: propose a checkpoint, as store-propose-events, once this many versions changing more than moving to a checkpoint were written since its store's checkpoint: with 1, after every such version, so that what keys voting twice could grow beside it at a history from before ends there.",
),
#[cfg(feature = "federation")]
option(