Commit 65ea67c
committed
backup: preserve HT-FIFO queue attributes (PR #714, round 6)
Codex P1 round 12 (commit 5c6a68b):
`decodeSQSQueueMetaValue` only projected legacy SQS fields into
_queue.json. The HT-FIFO immutable attributes (PartitionCount,
FifoThroughputLimit, DeduplicationScope) were captured by the live
catalog at CreateQueue but silently dropped by the backup decoder.
The adapter rejects mutating these via SetQueueAttributes (they
are immutable per AWS contract), so a backup→restore roundtrip
would silently recreate single-partition / default-routing /
queue-scoped-dedup queues — non-fidelity preserving for any
partitioned FIFO workload.
Add the three fields to sqsQueueMetaPublic and the live decode
struct so they round-trip through the dump.
Test: TestSQS_QueueMetaPreservesHTFIFOAttributes drives a
4-partition perMessageGroupId / messageGroup-dedup queue and
asserts each field is read back from _queue.json.1 parent 5c6a68b commit 65ea67c
2 files changed
Lines changed: 57 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
140 | 148 | | |
141 | 149 | | |
142 | 150 | | |
| |||
148 | 156 | | |
149 | 157 | | |
150 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
151 | 162 | | |
152 | 163 | | |
153 | 164 | | |
| |||
643 | 654 | | |
644 | 655 | | |
645 | 656 | | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
646 | 661 | | |
647 | 662 | | |
648 | 663 | | |
| |||
658 | 673 | | |
659 | 674 | | |
660 | 675 | | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
661 | 679 | | |
662 | 680 | | |
663 | 681 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
380 | 419 | | |
381 | 420 | | |
382 | 421 | | |
| |||
0 commit comments