feat: add crash-safe segment framing

This commit is contained in:
2026-08-31 09:23:31 +00:00
parent 8a88a72e62
commit 43dcd56313
4 changed files with 766 additions and 0 deletions
+36
View File
@@ -201,3 +201,39 @@ id = "REC-STORE-01"
layer = "integration"
status = "implemented"
tests = ["test/integration/store/store_integration_test.go:TestMigrationChecksumMismatchPreventsOpen_REC_STORE_01"]
[[requirements]]
id = "HP-STORE-02"
layer = "unit"
status = "implemented"
tests = ["internal/server/store/segment_test.go:TestSegmentRecordRoundTrip_HP_STORE_02"]
[[requirements]]
id = "BH-STORE-04"
layer = "unit"
status = "implemented"
tests = ["internal/server/store/segment_test.go:TestSegmentRecordChecksumFailures_BH_STORE_04"]
[[requirements]]
id = "BOUND-STORE-01"
layer = "unit"
status = "implemented"
tests = ["internal/server/store/segment_test.go:TestSegmentRecordLengthBoundsBeforeAllocation_BOUND_STORE_01"]
[[requirements]]
id = "REC-STORE-02"
layer = "integration"
status = "implemented"
tests = ["test/integration/store/store_integration_test.go:TestSegmentAppendTailRecoveryAndCommittedCorruption_REC_STORE_02"]
[[requirements]]
id = "BH-STORE-05"
layer = "integration"
status = "implemented"
tests = ["test/integration/store/store_integration_test.go:TestSegmentShortRangeUnsafeReferenceAndExclusiveCreate_BH_STORE_05"]
[[requirements]]
id = "RACE-STORE-02"
layer = "integration"
status = "implemented"
tests = ["test/integration/store/store_integration_test.go:TestSegmentConcurrentAppendSerializesRecords_RACE_STORE_02"]