mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
docs: pin native tail reuse controls in the liveness audit
This commit is contained in:
1 parent
cd5d7db0ed
commit
0ff432fbe9
2 files changed
+21
-15
No files matched your search
@@ -1052,10 +1052,8 @@
|
||||
],
|
||||
"reason": "raw v2 header/window/IEEE-CRC/permissive scan assumptions; native v3 refuses holes below W and fences rolled-back suffixes",
|
||||
"v3_controls": [
|
||||
"TestWALIOV3_RealWriterReopenScan",
|
||||
"TestWALStoreV3RecoversEveryAcknowledgedWriteInBothModes",
|
||||
"TestWALStoreV3DroppedRecordsNeverResurfaceAfterASecondCrash",
|
||||
"TestDurableStartup_Issue51_WALStoreV3CommittedHoleBlocksReadiness"
|
||||
"TestWALStoreV3CheckpointReclaimsAcrossRingLaps",
|
||||
"TestWALStoreV3ReclaimSecondSlotFailureKeepsOldPin"
|
||||
],
|
||||
"todo": "row 14a: move or retire explicitly only after replacement/migration review; no deletion in 12b"
|
||||
},
|
||||
@@ -1083,10 +1081,8 @@
|
||||
],
|
||||
"reason": "raw v2 header/window/IEEE-CRC/permissive scan assumptions; native v3 refuses holes below W and fences rolled-back suffixes",
|
||||
"v3_controls": [
|
||||
"TestWALIOV3_RealWriterReopenScan",
|
||||
"TestWALStoreV3RecoversEveryAcknowledgedWriteInBothModes",
|
||||
"TestWALStoreV3DroppedRecordsNeverResurfaceAfterASecondCrash",
|
||||
"TestDurableStartup_Issue51_WALStoreV3CommittedHoleBlocksReadiness"
|
||||
"TestWALStoreV3ReclaimRetiresReferencesBeforeReuse",
|
||||
"TestWALStoreV3CheckpointReclaimsAcrossRingLaps"
|
||||
],
|
||||
"todo": "row 14a: move or retire explicitly only after replacement/migration review; no deletion in 12b"
|
||||
},
|
||||
@@ -1221,10 +1217,8 @@
|
||||
],
|
||||
"reason": "raw v2 header/window/IEEE-CRC/permissive scan assumptions; native v3 refuses holes below W and fences rolled-back suffixes",
|
||||
"v3_controls": [
|
||||
"TestWALIOV3_RealWriterReopenScan",
|
||||
"TestWALStoreV3RecoversEveryAcknowledgedWriteInBothModes",
|
||||
"TestWALStoreV3DroppedRecordsNeverResurfaceAfterASecondCrash",
|
||||
"TestDurableStartup_Issue51_WALStoreV3CommittedHoleBlocksReadiness"
|
||||
"TestWALStoreV3ReclaimRebuildsIndexAfterPhysicalRecovery",
|
||||
"TestWALStoreV3FenceTouchesNoByteBeforeTheHead"
|
||||
],
|
||||
"todo": "row 14a: move or retire explicitly only after replacement/migration review; no deletion in 12b"
|
||||
},
|
||||
|
||||
@@ -87,9 +87,9 @@ TODO(row 14a): relocate or retire every listed legacy control explicitly; preser
|
||||
| `core/storage/walstore_sticky_race_test.go::TestWALStoreExtentFsyncFaultAfterThePublicationCheck` | v2 fd/callback/checkpoint injection or direct-extent API; v3 fails through the shared publisher/owned map and uses install handles | `TestDescriptorV3FsyncFailureIsStickyAndPublishesNothing`, `TestDescriptorV3SlotWriteErrorLatchesAndPinsTheCandidate`, `TestWALStoreV3_AutomaticMapPersistenceFailureLatchesStore`, `TestBaseInstallV3CompleteServesTheImageAcrossACrash` |
|
||||
| `core/storage/walstore_sticky_race_test.go::TestWALStoreExtentFsyncFaultDuringDirectFrontierPublication` | v2 fd/callback/checkpoint injection or direct-extent API; v3 fails through the shared publisher/owned map and uses install handles | `TestDescriptorV3FsyncFailureIsStickyAndPublishesNothing`, `TestDescriptorV3SlotWriteErrorLatchesAndPinsTheCandidate`, `TestWALStoreV3_AutomaticMapPersistenceFailureLatchesStore`, `TestBaseInstallV3CompleteServesTheImageAcrossACrash` |
|
||||
| `core/storage/walstore_batch_lsn_reuse_test.go::TestWALStoreFailedBatchAppendDoesNotRevertALaterAckedWrite` | v2 opt-in batch framing/failure injection; v3 batch is native and nonce-bound | `TestWALStoreV3BatchRoundTripAcrossACrash`, `TestWALStoreV3TornBatchIsAllOrNothing`, `TestWALStoreV3InstrumentationIncludesBatch` |
|
||||
| `core/storage/walstore_persisted_tail_test.go::TestWALStoreFlushPersistsTheReleasedTail` | raw v2 header/window/IEEE-CRC/permissive scan assumptions; native v3 refuses holes below W and fences rolled-back suffixes | `TestWALIOV3_RealWriterReopenScan`, `TestWALStoreV3RecoversEveryAcknowledgedWriteInBothModes`, `TestWALStoreV3DroppedRecordsNeverResurfaceAfterASecondCrash`, `TestDurableStartup_Issue51_WALStoreV3CommittedHoleBlocksReadiness` |
|
||||
| `core/storage/walstore_persisted_tail_test.go::TestWALStoreFlushPersistsTheReleasedTail` | raw v2 header/window/IEEE-CRC/permissive scan assumptions; native v3 refuses holes below W and fences rolled-back suffixes | `TestWALStoreV3CheckpointReclaimsAcrossRingLaps`, `TestWALStoreV3ReclaimSecondSlotFailureKeepsOldPin` |
|
||||
| `core/storage/walstore_sticky_race_test.go::TestWALStoreFsyncsOfTheFileAreSerialized` | v2 fd/callback/checkpoint injection or direct-extent API; v3 fails through the shared publisher/owned map and uses install handles | `TestDescriptorV3FsyncFailureIsStickyAndPublishesNothing`, `TestDescriptorV3SlotWriteErrorLatchesAndPinsTheCandidate`, `TestWALStoreV3_AutomaticMapPersistenceFailureLatchesStore`, `TestBaseInstallV3CompleteServesTheImageAcrossACrash` |
|
||||
| `core/storage/walstore_persisted_tail_test.go::TestWALStoreFullFlushThenTornWrapKeepsSyncedRecords` | raw v2 header/window/IEEE-CRC/permissive scan assumptions; native v3 refuses holes below W and fences rolled-back suffixes | `TestWALIOV3_RealWriterReopenScan`, `TestWALStoreV3RecoversEveryAcknowledgedWriteInBothModes`, `TestWALStoreV3DroppedRecordsNeverResurfaceAfterASecondCrash`, `TestDurableStartup_Issue51_WALStoreV3CommittedHoleBlocksReadiness` |
|
||||
| `core/storage/walstore_persisted_tail_test.go::TestWALStoreFullFlushThenTornWrapKeepsSyncedRecords` | raw v2 header/window/IEEE-CRC/permissive scan assumptions; native v3 refuses holes below W and fences rolled-back suffixes | `TestWALStoreV3ReclaimRetiresReferencesBeforeReuse`, `TestWALStoreV3CheckpointReclaimsAcrossRingLaps` |
|
||||
| `core/storage/walstore_sticky_race_test.go::TestWALStoreHeldWorkersSettleOnAFailurePath` | v2 fd/callback/checkpoint injection or direct-extent API; v3 fails through the shared publisher/owned map and uses install handles | `TestDescriptorV3FsyncFailureIsStickyAndPublishesNothing`, `TestDescriptorV3SlotWriteErrorLatchesAndPinsTheCandidate`, `TestWALStoreV3_AutomaticMapPersistenceFailureLatchesStore`, `TestBaseInstallV3CompleteServesTheImageAcrossACrash` |
|
||||
| `core/storage/walstore_checkpoint_safety_test.go::TestWALStoreMutationAPIsRejectAfterClose` | v2 fd/callback/checkpoint injection or direct-extent API; v3 fails through the shared publisher/owned map and uses install handles | `TestDescriptorV3FsyncFailureIsStickyAndPublishesNothing`, `TestDescriptorV3SlotWriteErrorLatchesAndPinsTheCandidate`, `TestWALStoreV3_AutomaticMapPersistenceFailureLatchesStore`, `TestBaseInstallV3CompleteServesTheImageAcrossACrash` |
|
||||
| `core/storage/walstore_activation_test.go::TestWALStoreProductionRefusesLegacyWithoutMutation` | legacy input construction for the native public-refusal control itself; the production test stays on v3 | `TestWALStoreProductionRefusesLegacyWithoutMutation` |
|
||||
@@ -98,7 +98,7 @@ TODO(row 14a): relocate or retire every listed legacy control explicitly; preser
|
||||
| `core/storage/walstore_midhistory_hole_test.go::TestWALStoreRecoverKeepsATornTail` | raw v2 header/window/IEEE-CRC/permissive scan assumptions; native v3 refuses holes below W and fences rolled-back suffixes | `TestWALIOV3_RealWriterReopenScan`, `TestWALStoreV3RecoversEveryAcknowledgedWriteInBothModes`, `TestWALStoreV3DroppedRecordsNeverResurfaceAfterASecondCrash`, `TestDurableStartup_Issue51_WALStoreV3CommittedHoleBlocksReadiness` |
|
||||
| `core/storage/walstore_recovery_frontier_gap_test.go::TestWALStoreRecoverKeepsSyncedEntriesAboveAnUnpersistedFrontierJump` | raw v2 header/window/IEEE-CRC/permissive scan assumptions; native v3 refuses holes below W and fences rolled-back suffixes | `TestWALIOV3_RealWriterReopenScan`, `TestWALStoreV3RecoversEveryAcknowledgedWriteInBothModes`, `TestWALStoreV3DroppedRecordsNeverResurfaceAfterASecondCrash`, `TestDurableStartup_Issue51_WALStoreV3CommittedHoleBlocksReadiness` |
|
||||
| `core/storage/walstore_recovery_lww_test.go::TestWALStoreRecoverLastWriterWinsAcrossScanOrder` | raw v2 header/window/IEEE-CRC/permissive scan assumptions; native v3 refuses holes below W and fences rolled-back suffixes | `TestWALIOV3_RealWriterReopenScan`, `TestWALStoreV3RecoversEveryAcknowledgedWriteInBothModes`, `TestWALStoreV3DroppedRecordsNeverResurfaceAfterASecondCrash`, `TestDurableStartup_Issue51_WALStoreV3CommittedHoleBlocksReadiness` |
|
||||
| `core/storage/walstore_persisted_tail_test.go::TestWALStoreRecoverPersistsTheRecoveredBounds` | raw v2 header/window/IEEE-CRC/permissive scan assumptions; native v3 refuses holes below W and fences rolled-back suffixes | `TestWALIOV3_RealWriterReopenScan`, `TestWALStoreV3RecoversEveryAcknowledgedWriteInBothModes`, `TestWALStoreV3DroppedRecordsNeverResurfaceAfterASecondCrash`, `TestDurableStartup_Issue51_WALStoreV3CommittedHoleBlocksReadiness` |
|
||||
| `core/storage/walstore_persisted_tail_test.go::TestWALStoreRecoverPersistsTheRecoveredBounds` | raw v2 header/window/IEEE-CRC/permissive scan assumptions; native v3 refuses holes below W and fences rolled-back suffixes | `TestWALStoreV3ReclaimRebuildsIndexAfterPhysicalRecovery`, `TestWALStoreV3FenceTouchesNoByteBeforeTheHead` |
|
||||
| `core/storage/walstore_recovery_hardening_test.go::TestWALStoreRecoverReconstructsLegacyWrappedRetainedWindow` | raw v2 header/window/IEEE-CRC/permissive scan assumptions; native v3 refuses holes below W and fences rolled-back suffixes | `TestWALIOV3_RealWriterReopenScan`, `TestWALStoreV3RecoversEveryAcknowledgedWriteInBothModes`, `TestWALStoreV3DroppedRecordsNeverResurfaceAfterASecondCrash`, `TestDurableStartup_Issue51_WALStoreV3CommittedHoleBlocksReadiness` |
|
||||
| `core/storage/walstore_recovery_hardening_test.go::TestWALStoreRecoverRejectsOverflowingBatchGeometry` | raw v2 header/window/IEEE-CRC/permissive scan assumptions; native v3 refuses holes below W and fences rolled-back suffixes | `TestWALIOV3_RealWriterReopenScan`, `TestWALStoreV3RecoversEveryAcknowledgedWriteInBothModes`, `TestWALStoreV3DroppedRecordsNeverResurfaceAfterASecondCrash`, `TestDurableStartup_Issue51_WALStoreV3CommittedHoleBlocksReadiness` |
|
||||
| `core/storage/walstore_legacy_trim_test.go::TestWALStoreRecoverReplaysLegacyRangeTrim` | v2 engine/layout, forced legacy fields or callback seams; v3 uses coherent descriptors | `TestWALStoreV3RecoversEveryAcknowledgedWriteInBothModes`, `TestWALStoreV3_FlushMaterializationBoundToRecoveryLifetime` |
|
||||
@@ -181,3 +181,15 @@ they do not replace the public default-size provider control. They preserve the
|
||||
existing bounded admission policy, not a reservation guarantee for oversized or
|
||||
concurrently pre-admitted batches, or a promise that an entirely unsynced ring can
|
||||
reclaim unacknowledged bytes.
|
||||
|
||||
The adjacent tail-persistence/reuse safety rows are also made specific:
|
||||
`TestWALStoreFlushPersistsTheReleasedTail`,
|
||||
`TestWALStoreRecoverPersistsTheRecoveredBounds`, and
|
||||
`TestWALStoreFullFlushThenTornWrapKeepsSyncedRecords` now cite the native
|
||||
both-slot, real multi-lap/reopen and retired-dirty-reference controls above.
|
||||
These are necessary reuse-safety checks, not independent backpressure tests.
|
||||
The scope of this audit is storage WAL capacity and pressure-driven progress;
|
||||
`TestWALStoreCloseWaitsForInflightSync` is a lifecycle/Sync join control, not a
|
||||
capacity waiter or flusher-stall oracle, and its old generic mapping must not be
|
||||
read as proving the native capacity behavior. Capture/BASE reconciliation waits
|
||||
likewise remain in their separate protocol inventory.
|
||||
Reference in new issue
Block a user