Skip to content

Commit 074a8c4

Browse files
committed
docs/design: fix second DDB gen-prefix site + seq classification (claude r6)
The markdown-table-escaped form !ddb\|table\|gen\| at line 186 (the internal-index reconstruction table) was missed by the round-5 fix because the escaped pipes did not match the plain-text grep. Corrected to !ddb\|meta\|gen\| (DDBTableGenPrefix = "!ddb|meta|gen|"). Also aligned this table row with the body-text reclassification: !sqs|queue|seq| is a queue-level sequence counter, not a per-message side record, so it now sits with the generation counters rather than in the vis/byage/dedup/group side-record list.
1 parent d93f5dd commit 074a8c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/design/2026_05_25_proposed_snapshot_logical_encoder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ encode they map as follows:
183183
| Class | Examples | Encode behavior |
184184
|---|---|---|
185185
| **User-visible records** | Redis strings/hashes/.../streams; DynamoDB items + `_schema.json`; S3 object bodies + sidecars; SQS `messages.jsonl` + `_queue.json` | Reconstructed from the directory tree — the direct inverse of each Phase 0a `Handle*` encoder. |
186-
| **Re-derivable indexes** | Redis TTL scan index (`!redis\|ttl\|`); DynamoDB GSI rows (`!ddb\|gsi\|`); SQS vis/byage/dedup/group/seq side records; per-scope generation counters (`!s3\|bucket\|gen\|`, `!ddb\|table\|gen\|`, `!sqs\|queue\|gen\|`) | **Reconstructed by the encoder** from the user records + config it just read. Required for a correct loadable image. |
186+
| **Re-derivable indexes** | Redis TTL scan index (`!redis\|ttl\|`); DynamoDB GSI rows (`!ddb\|gsi\|`); SQS vis/byage/dedup/group side records; per-scope generation counters (`!s3\|bucket\|gen\|`, `!ddb\|meta\|gen\|`, `!sqs\|queue\|gen\|`) + the SQS queue sequence counter (`!sqs\|queue\|seq\|`) | **Reconstructed by the encoder** from the user records + config it just read. Required for a correct loadable image. |
187187
| **Per-cluster operational / in-flight transactional** | HLC ceiling, Raft term/index/conf, FSM markers, write-conflict counter; `!txn\|` intents/locks; `!dist\|`, `!encryption\|` rows | **Never emitted.** They belong to the receiving cluster, not the data. The restore runbook seeds HLC/Raft state via the `.snap` token, not via FSM rows. |
188188

189189
The middle row is what makes Phase 0b larger than "reverse the

0 commit comments

Comments
 (0)