You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rootCmd.PersistentFlags().String("response-verify-key", "", "Path to Ed25519 seed file for verifying server response signatures (env: LEDGERCTL_RESPONSE_VERIFY_KEY)")
120
120
121
121
// Add persistent flag for read consistency level.
Copy file name to clipboardExpand all lines: docs/technical/architecture/subsystems/read-path/prepared-queries.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,8 +72,8 @@ A compile error at FSM time is hash-bound as an `AuditFailure`, so a checker run
72
72
1. Opens the fixed main-store snapshot, then reads both the ledger schema and prepared query from that snapshot. This prevents a concurrent query/schema update or deletion from being combined with entities from a newer state. Because the stored definition determines whether an index will be used, the executor briefly reserves the event-history floor before opening the snapshot and releases it immediately when the loaded shape needs no index alignment.
73
73
2. Verifies the requested mode is compatible with the query's `target` (e.g. `AGGREGATE_VOLUMES` only makes sense for accounts).
74
74
3. Enters the standard read route. Default live consistency establishes a
75
-
`ReadIndexAndWait` horizon; `stale`, leader-local, and checkpoint reads have
76
-
the documented exceptions. The executor waits for read-index alignment only
75
+
`ReadIndexAndWait` horizon; `stale`and checkpoint reads have the documented
76
+
exceptions. The executor waits for read-index alignment only
77
77
when `AlignmentOwed` is true — a non-nil filter or a LOGS target — then calls
78
78
`Compile(indexSnap, kb, pq.GetFilter(), ...)` and executes the iterator.
79
79
4. For `LIST`, streams the matching entities through the standard cursor pipeline (see [query-pipeline.md](query-pipeline.md)).
Copy file name to clipboardExpand all lines: docs/technical/architecture/subsystems/read-path/query-pipeline.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ was used.
82
82
83
83
Once both succeed, the local Pebble snapshot reflects state at least as fresh as the moment the request reached the cluster. This guarantees **linearizable reads on any node**: a read started after a successful write returns at least that write's effects, regardless of which node serves the read.
84
84
85
-
If the node is syncing or otherwise unable to confirm `ReadIndex`, the call fails — callers either retry or forward to the leader. The explicit `leader` consistency mode remains available at this stage: a remote hop defaults to the linearizable path, while a node that already considers itself leader serves locally without `R` and still aligns every projection it uses to the fixed local `H` below.
85
+
If the node is syncing or otherwise unable to confirm `ReadIndex`, the call fails — callers either retry or forward to the leader.
0 commit comments