Skip to content

Commit 7674480

Browse files
cjen1-msfteddyashtonCopilot
authored
Improve argument for snapshot triggering chunk generation (#7664)
Co-authored-by: Eddy Ashton <ashton.eddy@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f23979b commit 7674480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/operations/ledger_snapshot.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,4 +168,4 @@ Invariants
168168

169169
3. Snapshots are always generated for the ``seqno`` of a signature transaction (but not all signature transactions trigger the generation of snapshot).
170170

171-
4. The generation of a snapshot triggers the creation of a new ledger file. This is a corollary of 2. and 3., since new nodes should be able to join from a snapshot only and generate further ledger files that are the same as on the other nodes.
171+
4. When a snapshot is generated, it must coincide with the end of a ledger file. Since a node can join using solely a snapshot, the first ledger file on that node will start just after the ``seqno`` of the snapshot. By 2., all nodes must have the same ledger files, so the generation of that snapshot on the primary must trigger the creation of a new ledger file starting at the next ``seqno`` to ensure the primary's ledger files are consistent with the joining node's files.

0 commit comments

Comments
 (0)