mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
phase169: close segment format recovery proof
This commit is contained in:
1 parent
5f69697b2a
commit
d3a5058cfb
2 files changed
+56
No files matched your search
@@ -98,6 +98,12 @@ Block's own LSN, recovery, replication, and frontend contracts.
|
||||
|
||||
### D1. Segment Format And Executable Recovery Proof
|
||||
|
||||
Status: complete at `5a14936`. Adversarial review accepted the trusted recovery
|
||||
manifest and bounded streaming scanner. Independent m02 QA passed the exact
|
||||
gate, Linux race, Windows cross-compile, storage regression, frozen-vector CRC
|
||||
verification, committed-corruption fail-closed, uncommitted-tail, logical
|
||||
anchor, and same-LBA replay checks. Product selection remains unchanged.
|
||||
|
||||
- Define the minimum versioned segment header and entry table.
|
||||
- Bound segment bytes and entry count; reject integer overflow before
|
||||
allocation or I/O.
|
||||
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
# Phase 169 D1 Segment Format And Recovery QA Sign-Off
|
||||
|
||||
Verdict: PASS at exact commit `5a14936b4a782cee76717bddd5b52d2588fcc294`
|
||||
on branch `phase169-segmented-wal-group-commit`.
|
||||
|
||||
## Environment
|
||||
|
||||
- Host: m02, Linux amd64.
|
||||
- Go: 1.25.0.
|
||||
- CGO: explicitly enabled.
|
||||
- Exact isolated source archive SHA-256:
|
||||
`4abb0ff37b7f074cd68edc78822b989493bbf6baaf1e31253a0f33f78a693ebe`.
|
||||
- Gate exit: 0.
|
||||
|
||||
## Terminal Evidence
|
||||
|
||||
```text
|
||||
clean_encode_decode=pass
|
||||
invalid_geometry_and_order=pass
|
||||
corruption_and_bounds=pass
|
||||
uncommitted_tail_rule=pass
|
||||
committed_corruption_fail_closed=pass
|
||||
cross_segment_sequence_and_lsn=pass
|
||||
trusted_manifest_anchors=pass
|
||||
same_lba_recovery_order=pass
|
||||
frozen_format_vector=pass
|
||||
storage_regression=pass
|
||||
parallelwal_race=pass
|
||||
windows_compile=pass
|
||||
product_selector_added=false
|
||||
segment_version=1
|
||||
segment_max_entries=256
|
||||
segment_max_payload_bytes=1048576
|
||||
committed_corruption_policy=fail_closed
|
||||
uncommitted_tail_policy=ignore_after_trusted_boundary
|
||||
phase169_segment_format_status=ok
|
||||
```
|
||||
|
||||
The race run completed successfully in 2.776 seconds. The Windows artifact was
|
||||
independently identified as PE32+ amd64. An independent Python/zlib check of
|
||||
the frozen format vector confirmed the geometry, header CRC, segment-wide CRC,
|
||||
data CRC, and entry CRC.
|
||||
|
||||
The scanner validates first sequence/LSN, final LSN, exact segment count, short
|
||||
reads, and same-LBA order across segments. It does not publish product state.
|
||||
A future integration must accumulate callback results in private staging and
|
||||
publish only after the complete manifest returns nil.
|
||||
|
||||
No product selector was added. QA removed its isolated worktree, archive, and
|
||||
m02 temporary directory and did not touch concurrent shared-tree changes.
|
||||
Reference in new issue
Block a user