mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
docs: drop internal names and paths from comments and notes
Public text states what the code guarantees, not who asked for it or where an internal note lives. Comments and docs only; no code change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a7d0b851bd
commit
f679f2a5fe
31 files changed
+111
-114
No files matched your search
@@ -15,13 +15,12 @@ import (
|
||||
"github.com/seaweedfs/seaweed-block/core/storage"
|
||||
)
|
||||
|
||||
// Plan row 9b controls (DESIGN r17.3.1 section 8.7): the dual-lane Receiver
|
||||
// on a dark v3 store. Every BASE block and WAL entry goes through the
|
||||
// session's install handle; both admission schedules run through the real
|
||||
// receiver (WriteBase through frameBaseBlock, ApplyInstallEntry through
|
||||
// RebuildSession.ApplyWALEntry from frameWALEntry). Owner: claude03.
|
||||
// Mutants are the row 9a store mutants (shared-begin, no-id-check,
|
||||
// premature-check) plus the row 9b caller mutants named per control.
|
||||
// Controls for the dual-lane Receiver on a dark v3 store. Every BASE block
|
||||
// and WAL entry goes through the session's install handle; both admission
|
||||
// schedules run through the real receiver (WriteBase through frameBaseBlock,
|
||||
// ApplyInstallEntry through RebuildSession.ApplyWALEntry from frameWALEntry).
|
||||
// Mutants are the store mutants (shared-begin, no-id-check, premature-check)
|
||||
// plus the caller mutants named per control.
|
||||
|
||||
const v3RecvBlock = 4096
|
||||
|
||||
@@ -182,7 +181,7 @@ func TestReceiverV3InstallThroughTheHandle(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// Drain setup through the receiver (codex01 r12 P2): A's admitted BASE
|
||||
// Drain setup through the receiver: A's admitted BASE
|
||||
// write is held; B's SessionStart begin waits for it; B writes the target
|
||||
// block and stays installing; a further A frame fails A's session with
|
||||
// ErrInstallSuperseded and B's block is byte-identical.
|
||||
@@ -248,7 +247,7 @@ func TestReceiverV3HeldOldBaseWriteDrainsBeforeANewSession(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// Premature-check setup through the receiver (codex03 r11): A's frame parks
|
||||
// Premature-check setup through the receiver: A's frame parks
|
||||
// before acquiring installMu; B supersedes, writes the target block and
|
||||
// stays installing; A resumes and its session fails with
|
||||
// ErrInstallSuperseded, B's block byte-identical. WriteBase runs through
|
||||
@@ -311,7 +310,7 @@ func TestReceiverV3SupersededBaseDoneFailsWithoutAnAck(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 row 9b P1: the real Sender sends BaseDone from its base lane while
|
||||
// The real Sender sends BaseDone from its base lane while
|
||||
// its WAL lane is still sending (sender.go base goroutine). A WAL entry of
|
||||
// the same session after BaseDone must still apply, and the barrier then
|
||||
// completes with both lanes' bytes. Mutant: admitting install-lane WAL
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
// Plan row 11a controls (DESIGN r17.4 sections 6.6 and 8.3; owner claude03):
|
||||
// Install-reopen controls:
|
||||
// a covering superseding begin after an installing reopen.
|
||||
|
||||
// installThenCrashV3 begins install A at BaseLSN 10 over two acknowledged
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
// Plan row 11b controls (DESIGN r17.4 sections 6.6 and 8.3; owner claude03):
|
||||
// Install-resume controls:
|
||||
// the same-ID resume after an installing reopen.
|
||||
|
||||
// An intact reopen (W 2 <= R 11; record 12 damaged, 13 beyond the gap)
|
||||
@@ -65,7 +65,7 @@ func TestBaseInstallV3ResumeRefusesADamagedSuffix(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// E below the persisted retainedHead (codex03 r17 check): the head was
|
||||
// E below the persisted retainedHead: the head was
|
||||
// published past LSN 13 (white-box, as an earlier same-open recovery
|
||||
// would), then 13 is damaged, so the reopen's E ends after 12, below the
|
||||
// head. The resume is refused (E >= head is part of trusted-through-W). A
|
||||
@@ -121,9 +121,9 @@ func TestBaseInstallV3EBelowThePersistedHead(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 row 11b P1: a same-open Recover while this open's install is live
|
||||
// A same-open Recover while this open's install is live
|
||||
// must not leave a resumable cut behind. The old handle stays valid
|
||||
// (r17.4) and applies and acknowledges LSN 12 after the Recover; a resume
|
||||
// and applies and acknowledges LSN 12 after the Recover; a resume
|
||||
// then refuses before any I/O, so the acknowledged record's bytes are
|
||||
// unchanged, and a crash and a physical reopen still resume the same ID and
|
||||
// serve LSN 12. Mutant: recording the recovered bounds on a same-open
|
||||
@@ -191,7 +191,7 @@ func readRawV3(t *testing.T, path string, off int64, n int) []byte {
|
||||
return b
|
||||
}
|
||||
|
||||
// codex01 04180c33 P1 (live continuation): BASE writes LBA 1 = B0, then the
|
||||
// Live continuation: BASE writes LBA 1 = B0, then the
|
||||
// install lane applies and acknowledges LSN 11 at LBA 1; a same-open
|
||||
// Recover clears the dirty map; the ORIGINAL handle then applies and
|
||||
// acknowledges LSN 12 at LBA 2 and completes; reads in the same open must
|
||||
|
||||
@@ -134,7 +134,7 @@ type installHandleV3 struct {
|
||||
// completed is set once this handle's own MarkBaseComplete succeeded:
|
||||
// the session's WAL lane may still be sending (the Sender sends BaseDone
|
||||
// from its base lane), so install-lane applies stay admitted until the
|
||||
// next begin (codex01 row 9b P1).
|
||||
// next begin.
|
||||
completed atomic.Bool
|
||||
}
|
||||
|
||||
@@ -203,7 +203,7 @@ func (s *WALStore) beginBaseInstallV3(baseLSN uint64, id [16]byte) (*installHand
|
||||
// BaseLSN must also cover every appended LSN: an unacknowledged record
|
||||
// above BaseLSN would lie behind BaseCursor, so recovery from
|
||||
// max(CheckpointLSN, BaseLSN) would meet a hole where the allocator
|
||||
// continued (codex01 row 9a P1-1). Such a begin is refused, writing
|
||||
// continued. Such a begin is refused, writing
|
||||
// nothing; the records are never rewound or dropped to make room.
|
||||
w := max(d.W, v.wack.Load())
|
||||
appended := v.appended.Load()
|
||||
@@ -448,7 +448,7 @@ func (s *WALStore) applyEntryV3(lba uint32, data []byte, lsn uint64, installLane
|
||||
// a checkpoint does: one fsync for the BASE extent bytes and the
|
||||
// install-lane suffix (they share the file), the optional metadata and
|
||||
// chunk barriers, and a fresh owned-map candidate that carries the UNKNOWN
|
||||
// coverage the BASE writes set (codex01 row 9a P1-2). It then publishes
|
||||
// coverage the BASE writes set. It then publishes
|
||||
// installed with the same ID and that candidate in one publication
|
||||
// (retainedTail = max(retainedTail, P), 8.4), stops serving the superseded
|
||||
// pre-BASE records and moves the frontier to BaseLSN. A guest write that
|
||||
|
||||
@@ -10,9 +10,9 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// Plan row 9a controls (DESIGN r17.3.1 sections 8.1, 8.2, 8.4, 8.5, 8.7):
|
||||
// BASE install controls:
|
||||
// the v3 BASE begin, the install handle, complete, no abort and retirement.
|
||||
// Owner: claude03. Each control names the mutant it qualifies.
|
||||
// Each control names the mutant it qualifies.
|
||||
|
||||
var (
|
||||
idA = [16]byte{0xA}
|
||||
@@ -244,8 +244,7 @@ func TestBaseInstallV3ApplyInstallEntryOrderAndGap(t *testing.T) {
|
||||
|
||||
// holdOnce returns a hook that parks the first call until release runs,
|
||||
// and reports through parked when it has parked. The test's cleanup always
|
||||
// releases, so a failing test never leaves a parked goroutine behind
|
||||
// (codex01 row 9a P2).
|
||||
// releases, so a failing test never leaves a parked goroutine behind.
|
||||
func holdOnce(t *testing.T) (hook func(), parked chan struct{}, release func()) {
|
||||
parked = make(chan struct{})
|
||||
gate := make(chan struct{})
|
||||
@@ -262,7 +261,7 @@ func holdOnce(t *testing.T) (hook func(), parked chan struct{}, release func())
|
||||
}, parked, release
|
||||
}
|
||||
|
||||
// Drain setup, held inside the mutation (plan row 9, codex01 r12 P2):
|
||||
// Drain setup, held inside the mutation:
|
||||
// A's admitted write is held; B's begin waits for it; B then writes the
|
||||
// target block and stays installing; a further A attempt is refused with
|
||||
// B's block byte-identical. Mutants: begin taking installMu shared (A's
|
||||
@@ -316,8 +315,8 @@ func TestBaseInstallV3HeldOldWriteDrainsBeforeANewBegin(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// Premature-check setup, parked before admission (codex03 r11, plan row
|
||||
// 9): A parks before acquiring installMu; B supersedes, writes the target
|
||||
// Premature-check setup, parked before admission:
|
||||
// A parks before acquiring installMu; B supersedes, writes the target
|
||||
// block and stays installing; A resumes and is refused under the lock.
|
||||
// Mutants: checking the ID before acquiring installMu, and no ID check.
|
||||
func TestBaseInstallV3ParkedOldFrameIsRefusedAfterASupersession(t *testing.T) {
|
||||
@@ -355,7 +354,7 @@ func TestBaseInstallV3ParkedOldFrameIsRefusedAfterASupersession(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 row 9a P1-1: W 1 with unacknowledged LSNs 2 and 3 appended. A
|
||||
// W 1 with unacknowledged LSNs 2 and 3 appended. A
|
||||
// begin at BaseLSN 1 would put 2 and 3 behind BaseCursor while the
|
||||
// allocator continues at 4: after complete, an acknowledged write 4 and a
|
||||
// reopen from F = 1 meet the hole (strict: R 1 < W 4; lagged: 4 dropped).
|
||||
@@ -407,7 +406,7 @@ func TestBaseInstallV3BeginRefusesBelowTheHighestAppendedLSN(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 row 9a P1-2: a BASE write makes its chunk's coverage UNKNOWN only
|
||||
// A BASE write makes its chunk's coverage UNKNOWN only
|
||||
// in memory. Complete settles the map like a checkpoint: the installed
|
||||
// publication carries a fresh root with that UNKNOWN, so a crash and a
|
||||
// mapped reopen keep it. Setup: chunk 2 is clean in the durable root (as a
|
||||
@@ -473,7 +472,7 @@ func TestBaseInstallV3BeginRefusesWithAnUnsupportedAttachedChunkLayer(t *testing
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 row 9b P1, store part: a completed handle keeps admitting
|
||||
// Store side: a completed handle keeps admitting
|
||||
// install-lane applies (the session's WAL lane outlives its BaseDone) while
|
||||
// installed and after its retirement, until the next begin; a BASE write
|
||||
// after complete is refused; once a later begin has run (here after the
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
// Plan row 9c controls (owner claude03): SeedChunkFrontier on a dark v3
|
||||
// Chunk-frontier controls: SeedChunkFrontier on a dark v3
|
||||
// store uses the checkpoint's map/metadata barrier and the sole descriptor
|
||||
// publication (publishCheckpointV3), never the legacy superblock writer.
|
||||
|
||||
|
||||
@@ -234,7 +234,7 @@ func (p *descriptorPublisherV3) publishLockedCoreV3(mutate func(next *descriptor
|
||||
if werr != nil && p.io.latch != nil {
|
||||
// Latch inside the leaf, before fileSyncMu is released: a store
|
||||
// Sync queued on fileSyncMu must not fsync and acknowledge
|
||||
// through this uncertain slot (codex01 row 3 round 2).
|
||||
// through this uncertain slot.
|
||||
p.io.latch(fmt.Errorf("%w: %w", ErrDescriptorPublishUncertain, werr))
|
||||
}
|
||||
return werr
|
||||
|
||||
@@ -420,7 +420,7 @@ func TestDescriptorV3BaseTransitionTable(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 row 3 review P1: a slot write error (full or partial), like an
|
||||
// A slot write error (full or partial), like an
|
||||
// fsync error, latches the store, keeps the candidate pinned and refuses
|
||||
// every further publication, rollover and reuse with no further I/O.
|
||||
// Reopen (read back and select) is the positive control.
|
||||
@@ -492,7 +492,7 @@ func TestDescriptorV3SlotWriteErrorLatchesAndPinsTheCandidate(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 row 3 review P2: counters beyond 2^64-2 are refused at
|
||||
// Counters beyond 2^64-2 are refused at
|
||||
// publication with ErrCounterExhausted, before any write.
|
||||
func TestDescriptorV3PublicationCounterExhaustion(t *testing.T) {
|
||||
const over = counterMaxV3 + 1
|
||||
@@ -518,7 +518,7 @@ func TestDescriptorV3PublicationCounterExhaustion(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 row 3 round 2 P1: the store fault for a slot write error is
|
||||
// The store fault for a slot write error is
|
||||
// latched inside the leaf, before fileSyncMu is released. An independent
|
||||
// store Sync B queued on fileSyncMu behind A's failing slot write must be
|
||||
// refused and must not fsync or acknowledge. The harness lets B run right
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
// Plan row 10a controls (DESIGN r17.4 section 7; owner claude03): the gated
|
||||
// Install-log controls: the gated
|
||||
// logical Sync and the receiver-only install-log ack.
|
||||
|
||||
// While installing, Sync returns exactly (0, ErrBaseInstalling) and writes
|
||||
@@ -91,7 +91,7 @@ func TestInstallLogV3IsModeAAndSurvivesACrash(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 row 10a P1 (the #172 ack boundary): an append of the same install
|
||||
// The #172 ack boundary: an append of the same install
|
||||
// that fails and latches the store after SyncInstallLog's publication and
|
||||
// before its ack refuses the ack: no H, no volatile acknowledged frontier.
|
||||
// The held hook runs that append with a failing pwrite (the real latch). Mutant: no
|
||||
|
||||
@@ -161,9 +161,8 @@ func fenceRangesV3(E, floor, walSize uint64, sameNonce bool) ([]fenceRangeV3, er
|
||||
return nil, fmt.Errorf("storage: v3 fence: head %d below the reuse floor %d", E, floor)
|
||||
}
|
||||
// Interval-length arithmetic: floor+walSize is never formed, so a
|
||||
// history ending at the last representable cursor still recovers
|
||||
// (codex01 row 5 P2). The logical end may exceed 2^64-2; only the
|
||||
// physical bytes matter.
|
||||
// history ending at the last representable cursor still recovers.
|
||||
// The logical end may exceed 2^64-2; only the physical bytes matter.
|
||||
used := E - floor
|
||||
if used >= walSize {
|
||||
return nil, nil
|
||||
|
||||
@@ -99,7 +99,7 @@ func TestRecoveryV3Decision(t *testing.T) {
|
||||
t.Fatal("intact installing error is not a plain ErrBaseIncomplete")
|
||||
}
|
||||
// A contradictory chain while installing keeps the outer not-ready
|
||||
// outcome (codex01 row 5).
|
||||
// outcome.
|
||||
bad := []trustedRecordV3{rec(11, 11, 1100), rec(11, 11, 1200)}
|
||||
if _, err := decideRecoveryV3(inst, bad, 11); !errors.Is(err, ErrBaseIncomplete) || !errors.Is(err, ErrInstallSuffixDamaged) {
|
||||
t.Fatalf("contradictory installing chain: err = %v, want ErrBaseIncomplete wrapping ErrInstallSuffixDamaged", err)
|
||||
@@ -122,7 +122,7 @@ func TestRecoveryV3FenceRangesAreExact(t *testing.T) {
|
||||
sameNonce bool
|
||||
want []fenceRangeV3
|
||||
}{
|
||||
// codex03 r13 example: WALSize 256, fallback tail 0, selected 100,
|
||||
// WALSize 256, fallback tail 0, selected 100,
|
||||
// E 120. The fence is exactly [120, 256): physical [0, 100), which
|
||||
// the fallback still references, is untouched.
|
||||
{"floor bound, not the selected tail", 120, 0, 256, true, []fenceRangeV3{{120, 136}}},
|
||||
@@ -158,7 +158,7 @@ func TestRecoveryV3FenceRangesAreExact(t *testing.T) {
|
||||
if _, err := fenceRangesV3(50, 100, 256, true); err == nil {
|
||||
t.Fatal("a head below the floor was accepted")
|
||||
}
|
||||
// codex01 row 5 P2: a history ending at the last representable cursor
|
||||
// A history ending at the last representable cursor
|
||||
// still fences exactly; floor+WALSize is never formed.
|
||||
got, err := fenceRangesV3(counterMaxV3, counterMaxV3-100, 256, true)
|
||||
if err != nil {
|
||||
|
||||
@@ -273,7 +273,7 @@ func TestWALStoreV3HalfResetRefusesWritesUntilRecover(t *testing.T) {
|
||||
readAllV3(t, r, 1, 3)
|
||||
}
|
||||
|
||||
// codex01 row 8 P1: a Read that resolved LBA 1's WAL position (cursor 0)
|
||||
// A Read that resolved LBA 1's WAL position (cursor 0)
|
||||
// parks before its pread; the real flusher checkpoints and releases the
|
||||
// entry, the reset starts the new incarnation at cursor 0, and Write(2, B)
|
||||
// reuses that position. The resumed Read must not return B for LBA 1: it
|
||||
@@ -377,7 +377,7 @@ func TestWALStoreV3ReadOfADamagedLiveRecordIsAnIntegrityFault(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 e72acd40 P2 (1): a same-open Recover can fence a dropped record
|
||||
// A same-open Recover can fence a dropped record
|
||||
// and re-allocate its LSN to the same LBA at the same position. A read
|
||||
// parked across that saw the fenced bytes; on re-resolution the entry looks
|
||||
// unchanged (same position and LSN), but it is a new write: the read must
|
||||
@@ -426,7 +426,7 @@ func TestWALStoreV3ReadAcrossARecoveryThatReusesTheSamePositionAndLSNIsNotDamage
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 e72acd40 P2 (2): a failed pread is substrate I/O, never WAL
|
||||
// A failed pread is substrate I/O, never WAL
|
||||
// integrity. EOF policy: the WAL region lies inside the file, so a file
|
||||
// shorter than its geometry (io.EOF) is substrate I/O too.
|
||||
func TestWALStoreV3ReadIOErrorsAreSubstrateIONotWALIntegrity(t *testing.T) {
|
||||
@@ -460,7 +460,7 @@ func TestWALStoreV3ReadIOErrorsAreSubstrateIONotWALIntegrity(t *testing.T) {
|
||||
})
|
||||
}
|
||||
|
||||
// codex01 2fa56078 P2: a read already admitted (past Read's close check)
|
||||
// A read already admitted (past Read's close check)
|
||||
// captures the recovery generation AFTER a Recover's start bump and the OLD
|
||||
// dirty entry BEFORE its clear; the recovery fences the dropped record and
|
||||
// a same-LBA write re-allocates the same position and LSN. Tuple and a
|
||||
|
||||
@@ -93,7 +93,7 @@ func TestSlotV3ReferenceFields(t *testing.T) {
|
||||
d.BaseState != BaseNone || d.WMode != WModeLagged || d.MigrationPhase != MigrationNormal {
|
||||
t.Fatalf("reference fields differ: %+v", d)
|
||||
}
|
||||
// The slot names codex03's map fixture root (DESIGN 9.5).
|
||||
// The slot names the map fixture root (DESIGN 9.5).
|
||||
if got := d.MapRootHash; got[0] != 0xb4 || got[1] != 0x7d || got[31] != 0x1b {
|
||||
t.Fatalf("map root hash %x is not the 9.5 rootBodyDigest", got)
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ assert crc32c(b"123456789") == 0xE3069283, "crc32c self-check failed"
|
||||
UUID = bytes(range(0x00, 0x10))
|
||||
LINEAGE = bytes(range(0x10, 0x20))
|
||||
NONCE = bytes(range(0x20, 0x30))
|
||||
# rootBodyDigest of codex03's reference root (DESIGN 9.5): this slot names that map.
|
||||
# rootBodyDigest of the reference map root (DESIGN 9.5): this slot names that map.
|
||||
ROOT_HASH = bytes.fromhex("b47d24af8db0e0a2cd2494652c981c48f4d2a861c381f4a04cac4b35e2ac321b")
|
||||
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
// v3 WriteBatch controls (DESIGN r17.4 sections 3.1 and 6.7; owner
|
||||
// claude03): one multi-block record per batch, its replay and reads.
|
||||
// v3 WriteBatch controls:
|
||||
// one multi-block record per batch, its replay and reads.
|
||||
|
||||
func batchBlocks(first byte, n int) [][]byte {
|
||||
out := make([][]byte, n)
|
||||
@@ -201,7 +201,7 @@ func TestWALStoreV3BatchFlushesEveryBlock(t *testing.T) {
|
||||
readBatchV3(t, r, 10, 0x40, 4, "after reopen")
|
||||
}
|
||||
|
||||
// The dark offline reader (codex03's walstore_readonly_v3.go) indexes and
|
||||
// The dark offline reader (walstore_readonly_v3.go) indexes and
|
||||
// reads every block of a batch record. Mutant: indexing only a batch's
|
||||
// first block fails here.
|
||||
func TestWALStoreV3ReadOnlyReaderServesBatchBlocks(t *testing.T) {
|
||||
@@ -242,8 +242,8 @@ func TestWALStoreV3BatchRecordsMapCoverage(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// Ordinary replicated ApplyEntry on v3 (DESIGN 8.1, 6.7, r16.1; codex03
|
||||
// 12a inventory): applies append in LSN order and survive a crash; an LSN
|
||||
// Ordinary replicated ApplyEntry on v3 (DESIGN 8.1, 6.7):
|
||||
// applies append in LSN order and survive a crash; an LSN
|
||||
// at or below the highest is a superseded no-op when the LBA holds a higher
|
||||
// LSN and ErrWALLSNOrder otherwise; an unanchored gap is refused; an
|
||||
// ordinary apply while installing is refused (the install lane is the
|
||||
@@ -329,7 +329,7 @@ func TestWALStoreV3ScanLBAs(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 4caac700 P1s: v3 ScanLBAs is all or nothing. A corrupt middle
|
||||
// v3 ScanLBAs is all or nothing. A corrupt middle
|
||||
// record makes the chain stop short of the head: a typed WAL integrity
|
||||
// failure carrying the scanner's stop cause, with nothing emitted (never
|
||||
// a short success, never WALRecycled). An installing
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
// codex01 row 7 slice 4 P1: WALStore.Close serialized the legacy superblock
|
||||
// Regression: WALStore.Close serialized the legacy superblock
|
||||
// and pwrote it at offset 0, which on a v3 file is descriptor slot A. The
|
||||
// schedule: strict create (A gen 1), Recover (B gen 2), Write+Sync (A gen 3,
|
||||
// W 1), Close (slot A destroyed), reopen (B gen 2, W 0). A v3 Close writes
|
||||
|
||||
@@ -65,7 +65,7 @@ func (s *WALStore) CheckpointLSNForPOC() uint64 {
|
||||
}
|
||||
|
||||
// scanLBAsV3 is ScanLBAs on a v3 store (the primary's catch-up source).
|
||||
// It is all or nothing (codex01 4caac700 P1s): it captures the recovery
|
||||
// It is all or nothing: it captures the recovery
|
||||
// generation, the descriptor and the head, refuses an installing source
|
||||
// (ErrBaseInstalling) before emitting anything, scans the trusted v3 chain
|
||||
// into memory, revalidates the capture (a Recover, reset or BASE transition
|
||||
|
||||
@@ -38,15 +38,15 @@ type walStoreV3State struct {
|
||||
// leader role) for its whole run, between lifecycleMu and s.mu, and bumps
|
||||
// recoverGen first, under syncMu and s.mu. Every W publisher (the Sync
|
||||
// batch, refreshW, SetWMode) holds syncMu across capture -> publish ->
|
||||
// acknowledgement, so no publication straddles a recovery (codex01 row
|
||||
// 5d; Claude01's structural seam). The one boundary that cannot hold
|
||||
// syncMu across its wait, the outer Sync() completion, captures
|
||||
// recoverGen with its target and rechecks it under syncMu -> s.mu.
|
||||
// acknowledgement, so no publication straddles a recovery. The one
|
||||
// boundary that cannot hold syncMu across its wait, the outer Sync()
|
||||
// completion, captures recoverGen with its target and rechecks it under
|
||||
// syncMu -> s.mu.
|
||||
//
|
||||
// recoverGen is bumped at the start AND at the end of every recovery
|
||||
// and reset, the start+end pattern of the map proof epoch: a lock-free
|
||||
// reader whose attempt saw the same value before and after was not cut
|
||||
// by a recovery's end (codex01 2fa56078 P2: a read admitted between the
|
||||
// by a recovery's end (the case this closes: a read admitted between the
|
||||
// start bump and the dirty-map clear captured the new value with an old
|
||||
// entry, then a same-tuple rewrite after the recovery).
|
||||
//
|
||||
@@ -478,7 +478,7 @@ func (s *WALStore) recoverV3() (uint64, error) {
|
||||
if err != nil {
|
||||
if d.BaseState == BaseInstalling {
|
||||
// Installing keeps its typed not-ready outcome; the cause is a
|
||||
// substrate error, not proven install-log damage (codex01 5b P2).
|
||||
// substrate error, not proven install-log damage.
|
||||
return 0, fmt.Errorf("%w: scan: %w", ErrBaseIncomplete, err)
|
||||
}
|
||||
return 0, err
|
||||
@@ -503,11 +503,11 @@ func (s *WALStore) recoverV3() (uint64, error) {
|
||||
// never reuses an LSN the WAL still holds.
|
||||
//
|
||||
// Only a physical reopen records them: when this open began the
|
||||
// installing ID, its handle stays valid (DESIGN r17.4: until the next
|
||||
// begin) and may append and acknowledge past this cut, so a cached E
|
||||
// would be stale and fencing from it could erase acknowledged
|
||||
// records (codex01 row 11b P1). A resume or a fenced supersession
|
||||
// then refuses before any I/O; the live install continues.
|
||||
// installing ID, its handle stays valid (until the next begin) and
|
||||
// may append and acknowledge past this cut, so a cached E would be
|
||||
// stale and fencing from it could erase acknowledged records. A
|
||||
// resume or a fenced supersession then refuses before any I/O; the
|
||||
// live install continues.
|
||||
if d.BaseInstallID != v.liveInstallID {
|
||||
ro := &installReopenV3{id: d.BaseInstallID, E: o.E, R: o.R, damaged: o.Damaged, walSize: d.WALSize}
|
||||
for _, r := range scan.Records {
|
||||
@@ -533,11 +533,11 @@ func (s *WALStore) recoverV3() (uint64, error) {
|
||||
// closed; a physical reopen then decides intact or damaged.
|
||||
s.latchV3(fmt.Errorf("storage: v3 same-open installing recovery: recovered cut E %d is not the live writer head", o.E))
|
||||
} else {
|
||||
// The live install continues (r17.4). Its trusted install-lane
|
||||
// The live install continues. Its trusted install-lane
|
||||
// records are republished in the dirty map, which this Recover
|
||||
// cleared, so the completed image serves them and not older BASE
|
||||
// bytes; the volatile map coverage (the BASE writes' UNKNOWN) is
|
||||
// kept as it is (codex01 04180c33 P1).
|
||||
// kept as it is.
|
||||
for _, r := range scan.Records {
|
||||
if r.Entry.LSN > o.R {
|
||||
break
|
||||
@@ -623,7 +623,7 @@ func (s *WALStore) recoverV3() (uint64, error) {
|
||||
// The volatile acknowledged frontier is the recovered prefix, never an
|
||||
// older in-memory maximum: a same-open recovery that dropped mode C's
|
||||
// newest batch must not let a later refresh publish a W the WAL no
|
||||
// longer holds (codex01 5b P1).
|
||||
// longer holds.
|
||||
v.appended.Store(o.R)
|
||||
v.wack.Store(o.R)
|
||||
return s.syncedLSN, nil
|
||||
@@ -864,7 +864,7 @@ func (s *WALStore) syncWALBatchV3Internal(pressureOnly bool) error {
|
||||
if h := v.testBatchBeforeAck; h != nil {
|
||||
h()
|
||||
}
|
||||
// The acknowledgement boundary (codex01 row 5 P1): a queued append may
|
||||
// The acknowledgement boundary: a queued append may
|
||||
// have failed and latched the store fault while this batch's slot I/O
|
||||
// was in flight. Recheck under the store lock, which that append holds
|
||||
// until it has latched, before acknowledging anything.
|
||||
@@ -931,7 +931,7 @@ func (s *WALStore) SetWMode(m WMode) error {
|
||||
// readDirtyV3 serves a v3 read from the dirty map, if the LBA has an entry
|
||||
// (handled false: read the extent). A reader holds no lock across its WAL
|
||||
// read, so the position it resolved may be reused before the pread: after a
|
||||
// reset (cursor 0 again, codex01 row 8 P1) or a same-open recovery that
|
||||
// reset (cursor 0 again) or a same-open recovery that
|
||||
// fenced and reused it. The read therefore validates the WHOLE record it
|
||||
// read, payload included (CRC, footer, write type, LBA and LSN against the
|
||||
// resolving entry), and re-resolves on a mismatch. LSN allocation runs on
|
||||
@@ -940,7 +940,7 @@ func (s *WALStore) SetWMode(m WMode) error {
|
||||
// to the same LBA at the same position, so the "entry unchanged" damage
|
||||
// verdict also requires the same recovery generation before and after the
|
||||
// whole attempt. A recovery bumps it at its start and its end, so any
|
||||
// overlap changes it (codex01 e72acd40 and 2fa56078 P2s; see recoverGen).
|
||||
// overlap changes it (see recoverGen).
|
||||
// A generation captured while a recovery runs can match only if the
|
||||
// verdict also falls inside that recovery, which holds s.mu: no write can
|
||||
// re-allocate the tuple, and the replay installs only validated records. A pread error is a
|
||||
|
||||
@@ -409,7 +409,7 @@ func TestWALStoreV3RefusesPathsOfLaterRows(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 row 5 P1-1: a batch's acknowledgement rechecks the store fault
|
||||
// A batch's acknowledgement rechecks the store fault
|
||||
// under the store lock. Schedule, in both modes: batch A's slot write is
|
||||
// parked (A holds descMu); B's Write, already past capacity admission,
|
||||
// takes s.mu exclusively and waits on descMu in the writer's snapshot;
|
||||
@@ -468,7 +468,7 @@ func TestWALStoreV3SyncRechecksTheFaultAtTheAckBoundary(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 row 5 P2: a history ending at the last representable cursor
|
||||
// A history ending at the last representable cursor
|
||||
// recovers; only further appends are refused.
|
||||
func TestWALStoreV3RecoversAHistoryEndingAtTheLastRepresentableCursor(t *testing.T) {
|
||||
const recSize = uint64(walEntryHeaderSizeV3 + v3TestBlock)
|
||||
@@ -496,7 +496,7 @@ func TestWALStoreV3RecoversAHistoryEndingAtTheLastRepresentableCursor(t *testing
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 row 5 P2 (SetWMode evidence): a held mode-C batch completes and
|
||||
// A held mode-C batch completes and
|
||||
// acknowledges under C before SetWMode(A) publishes the new mode.
|
||||
func TestWALStoreV3SetWModeWaitsForAHeldBatch(t *testing.T) {
|
||||
s, _ := newStoreV3(t, WModeLagged)
|
||||
@@ -629,7 +629,7 @@ func recvErrV3(t *testing.T, ch <-chan error, what string) error {
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 5b P1: a SAME-instance recovery that drops mode C's newest batch
|
||||
// A SAME-instance recovery that drops mode C's newest batch
|
||||
// resets the acknowledged frontier to R, so a later refresh cannot publish
|
||||
// a W the WAL no longer holds and the next Recover does not report a false
|
||||
// corruption. Fresh-open tests mask this (they start from the slot W).
|
||||
@@ -674,7 +674,7 @@ func TestWALStoreV3SameOpenRecoverResetsTheAcknowledgedFrontier(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 5b P2: a scan failure under an installing descriptor keeps the
|
||||
// A scan failure under an installing descriptor keeps the
|
||||
// typed not-ready outcome and leaves the file unchanged.
|
||||
func TestWALStoreV3InstallingScanErrorIsTypedNotReady(t *testing.T) {
|
||||
s, path := newStoreV3(t, WModeLagged)
|
||||
@@ -707,7 +707,7 @@ func TestWALStoreV3InstallingScanErrorIsTypedNotReady(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 5b P2: the real flusher cycle performs the mode-C idle refresh,
|
||||
// The real flusher cycle performs the mode-C idle refresh,
|
||||
// also when no dirty entries remain, so the window closes without a Sync.
|
||||
func TestWALStoreV3FlusherCycleRunsTheIdleRefresh(t *testing.T) {
|
||||
s, path := newStoreV3(t, WModeLagged)
|
||||
@@ -731,7 +731,7 @@ func TestWALStoreV3FlusherCycleRunsTheIdleRefresh(t *testing.T) {
|
||||
// heldV3 owns a parked hook and the workers a held control starts. Its
|
||||
// cleanup, registered before any worker starts and after the store crash
|
||||
// cleanup, first releases the hold, then joins every worker with a bound,
|
||||
// so an early Fatal never strands store shutdown (codex01 row 5d P2).
|
||||
// so an early Fatal never strands store shutdown.
|
||||
type heldV3 struct {
|
||||
t *testing.T
|
||||
parked chan struct{}
|
||||
@@ -792,7 +792,7 @@ func notDoneV3(t *testing.T, c chan error, what string) {
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 row 5d schedule A: a refresh attempted DURING a same-open
|
||||
// Schedule A: a refresh attempted DURING a same-open
|
||||
// recovery waits for it (Recover holds the leader role), then sees the
|
||||
// recovered frontier and publishes nothing.
|
||||
func TestWALStoreV3RefreshDuringRecoverWaitsAndPublishesNothing(t *testing.T) {
|
||||
@@ -821,7 +821,7 @@ func TestWALStoreV3RefreshDuringRecoverWaitsAndPublishesNothing(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 row 5d schedule B: a recovery attempted while a C batch is parked
|
||||
// Schedule B: a recovery attempted while a C batch is parked
|
||||
// after its publication and before its acknowledgement waits for the batch;
|
||||
// the recovery then lowers the frontier and nothing revives the dropped cut.
|
||||
func TestWALStoreV3RecoverWaitsForABatchAckAndNothingRevivesTheCut(t *testing.T) {
|
||||
@@ -863,7 +863,7 @@ func TestWALStoreV3RecoverWaitsForABatchAckAndNothingRevivesTheCut(t *testing.T)
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 row 5d: the outer Sync() completion is validated against the
|
||||
// The outer Sync() completion is validated against the
|
||||
// recovery generation. A Sync whose batch finished, then waits while a
|
||||
// recovery drops its cut, must not acknowledge it; a fresh Sync after the
|
||||
// recovery acknowledges normally.
|
||||
@@ -899,7 +899,7 @@ func TestWALStoreV3OuterSyncCompletionIsRefusedAcrossARecovery(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// codex01 row 5c P2: the empty-dirty-set branch of the flusher cycle runs the
|
||||
// The empty-dirty-set branch of the flusher cycle runs the
|
||||
// idle refresh on its own (discriminated separately from the flush branch).
|
||||
func TestWALStoreV3FlusherEmptyCycleRunsTheIdleRefresh(t *testing.T) {
|
||||
s, _ := newStoreV3(t, WModeLagged)
|
||||
|
||||
@@ -15,8 +15,8 @@ import (
|
||||
"github.com/seaweedfs/seaweed-block/core/storage"
|
||||
)
|
||||
|
||||
// Plan row 10b controls (DESIGN r17.4 section 8.7, caller 2; owner
|
||||
// claude03): the legacy single-lane rebuild on a dark v3 replica. The
|
||||
// Replica install controls:
|
||||
// the legacy single-lane rebuild on a dark v3 replica. The
|
||||
// first admitted rebuild message begins one install at its frontier hint;
|
||||
// blocks go through the handle; done completes, then Syncs, and a failure
|
||||
// closes the connection with no MsgBarrierResp.
|
||||
|
||||
@@ -384,12 +384,12 @@ The "Machine / transition" column refers to Part A. Notes under a table record w
|
||||
| `INV-WAL-V3-FLUSH-LIFETIME-001` | A dark v3 flusher binds its dirty snapshot and extent materialization to the original even Recover generation. A cycle spanning Recover/reset publishes no checkpoint/map and retires no reused dirty entry. | M1 Recovering / checkpoint publication | `core/storage/flusher.go`; `walstore_map_checkpoint_v3.go`; `walstore_v3.go` `flushLifetimeValidV3` | `TestWALStoreV3_FlushMaterializationBoundToRecoveryLifetime` | Existing recovery/map proof lifetime; implementation correspondence | STUB |
|
||||
| `INV-WAL-V3-MAP-BYTES-001` | A dark v3 map candidate names immutable, owned, identity- and geometry-checked pages and root. Domain-separated body digests, reserved/unused bytes, exact page counts, file bounds and non-aliasing intervals all validate before entries escape. Persistence orders pages/fsync, root/fsync, directory fsync; a persistence-transaction error yields no candidate and latches subsequent I/O; preflight and Stat errors do not latch. Extents are reused only when no live root references them (both slot roots, in-flight candidates, an uncertain candidate until reopen); the free tail is truncated above the highest live page. | M1 (dark map preparation only) | `core/storage/chunk_lsn_map_v3.go` `Prepare`, `readChunkLSNMapV3`; `core/storage/chunk_map_extents_v3.go` (live set, allocation, release, truncation); `core/storage/chunk_map_publication_v3.go` `publishMapV3`; `core/storage/descriptor_v3.go` (slot report, uncertain candidate) | `TestChunkMapV3FileStaysBoundedUnderSteadyCheckpoints` (`core/storage/chunkmap_bounded_v3_test.go`); `TestChunkMapExtentsV3FallbackRootIsNeverReused`, `TestChunkMapExtentsV3NewerInFlightCandidateIsNotReused`, `TestChunkMapExtentsV3CrashBeforePublicationOfAReusedExtent`, `TestChunkMapExtentsV3TruncationKeepsAFallbackAtTheTail`, `TestChunkMapExtentsV3RejectedPublicationsStayBounded`, `TestChunkMapExtentsV3ReopenRegistersTheFallbackRoot`, `TestChunkMapExtentsV3TruncationFaultKeepsTheSlotRoots`, `TestChunkMapExtentsV3UncertainCandidateStaysPinned`, `TestChunkMapExtentsV3StatsAfterReopen`, `TestChunkMapExtentsV3ProofStalePreparesStayBounded`, `TestChunkMapExtentsV3DurableButRefusedPublicationStaysPinned` (`core/storage/chunk_map_extents_v3_test.go`); `TestChunkLSNMapV3_CanonicalVectors`, `TestChunkLSNMapV3_PersistReloadAndReuse`, `TestChunkLSNMapV3_CorruptionAndBounds`, `TestChunkLSNMapV3_FailureDoesNotPublishOrReuse`, `TestChunkLSNMapV3_OrderOwnedOpenAndClippedPage`, `TestChunkLSNMapV3_RejectsRehashedMalformedRecords`, `TestChunkLSNMapV3_EntryBoundBeforeRootIO`, `TestChunkLSNMapV3_WholePageHashIsNotBodyDigest`, `TestChunkLSNMapV3_PreflightErrorDoesNotLatch` | WALFormatR5 abstract map dependency; physical encoding/digest/order are code obligations | STUB |
|
||||
| `INV-WAL-V3-PUBLISH-001` | Every v3 descriptor change goes through one publisher. It writes the fallback slot with slotGen+1 under `descMu`. It takes `WALStore.mu` only to snapshot and releases it before slot I/O, and fsync is the leaf. It rebases onto the authoritative descriptor: W and the checkpoint are max-merged, and identity, geometry and nonce changes are refused, as are tail regression, a map root change without a higher generation and any BASE edge outside DESIGN 8.5 (installed -> installing is refused). A failed slot write (full or partial) or fsync publishes nothing. It latches the store fault inside the fsync leaf, before `fileSyncMu` is released, so a queued store Sync cannot acknowledge through it, keeps the uncertain candidate pinned and refuses every later publication, rollover and reuse until a reopen reads the slots back. A fault latched mid-flight is refused at the success boundary. A counter above 2^64-2 is refused with `ErrCounterExhausted` before any write. When the fallback slot pins reuse, a metadata-only rollover advances the floor, and no floor is ever computed across nonces. | M1 Serving (v3 descriptor publication) | `core/storage/descriptor_v3.go` `publish`, `mergeDescriptorV3`, `baseTransitionAllowedV3`, `rolloverIfPinned`, `reuseFloor` | `TestDescriptorV3PublishAlternatesSlotsAndReopenSelectsNewest`, `TestDescriptorV3MergeIsMonotonicAndRefusesForbiddenChanges`, `TestDescriptorV3ConcurrentPublishersNeverRegress`, `TestDescriptorV3LockOrderRecorder`, `TestDescriptorV3FsyncFailureIsStickyAndPublishesNothing`, `TestDescriptorV3FaultLatchedDuringPublicationRefusesAtSuccessBoundary`, `TestDescriptorV3FullRingRolloverAdvancesTheFloorWithoutAnyChange`, `TestDescriptorV3RolloverFsyncFailureKeepsTheFloorPinned`, `TestDescriptorV3MixedNoncesNeverYieldAReuseFloor`, `TestDescriptorV3BaseTransitionTable`, `TestDescriptorV3SlotWriteErrorLatchesAndPinsTheCandidate`, `TestDescriptorV3PublicationCounterExhaustion`, `TestDescriptorV3QueuedStoreSyncCannotAckAfterSlotWriteError` (`core/storage/descriptor_v3_test.go`) | — | STUB |
|
||||
| `INV-WAL-V3-W-001` | v3 Sync acknowledges only after an fsync covers the batch. In mode C (the default) the slot carries the previous batch's acknowledged W and the batch's single fsync covers WAL and slot; in mode A the WAL fsync precedes a slot publication with W = H. Recovery refuses (`wal_corrupt`) when the contiguous prefix R above max(CheckpointLSN, BaseLSN) is below W* = max(slot W, max trusted DurableLSN). Mode C's only unprotected acknowledged data is the newest batch, against media corruption before the next Sync or the idle refresh; `SetWMode` and the refresh close that window. Flushed entries above the published checkpoint remain retry work, so a later Sync plus cycle can advance checkpoint and map coverage together. | M1 Recovering → Serving \| RecoveryFailed; M1 write lifecycle: Appended → Synced (v3) | `core/storage/walstore_v3.go` `WALStore.syncWALBatchV3`, `refreshW`, `SetWMode`, `recoverV3`, `appendWriteV3`; `core/storage/recovery_v3.go` `decideRecoveryV3`, `contiguousPrefixV3`; `core/storage/flusher.go` `flushOnceInternal` | `TestWALStoreV3CloseKeepsTheNewestSlotAAndItsW` (`core/storage/walstore_close_v3_test.go`); `TestWALStoreV3RecoversEveryAcknowledgedWriteInBothModes` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3ModeCWindowIsExactlyTheNewestBatch` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3RefreshAndSetWModeCloseTheWindow` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3TornUnsyncedTailIsNeverAFalseCorrupt` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3AppendWriteErrorLatchesTheStore` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3FlusherWritesTheExtentButHoldsTheCheckpointUntilTheMap` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3SyncRechecksTheFaultAtTheAckBoundary` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3SetWModeWaitsForAHeldBatch` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3NoBatchAcksUnderAStaleModeAfterSetWMode` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3SetWModeCrashCases` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3SameOpenRecoverResetsTheAcknowledgedFrontier` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3InstallingScanErrorIsTypedNotReady` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3FlusherCycleRunsTheIdleRefresh` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3RefreshDuringRecoverWaitsAndPublishesNothing` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3RecoverWaitsForABatchAckAndNothingRevivesTheCut` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3OuterSyncCompletionIsRefusedAcrossARecovery` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3FlusherCheckpointIsClampedToTheAcknowledgedW` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3FlusherEmptyCycleRunsTheIdleRefresh` (`core/storage/walstore_v3_test.go`); `TestRecoveryV3Decision` (`core/storage/recovery_v3_test.go`); `TestRecoveryV3ContiguousPrefix` (`core/storage/recovery_v3_test.go`); `TestWALStoreV3_FlushedProgressRetriesAfterLaterSync` (`core/storage/walstore_flushed_progress_v3_test.go`) | `WALFormat` composed model (claude05, r14 run) | STUB |
|
||||
| `INV-WAL-V3-FENCE-001` | Before any append after a v3 recovery, the store zeroes exactly the logical WAL interval [E, floor+WALSize) (floor = both slots' same-nonce reuse floor) split at the physical wrap, fsyncs it through the leaf, then publishes retainedHead = E; no byte before E or outside the interval changes, so records dropped by one recovery never resurface after a second crash. | M1 Recovering → Serving (v3) | `core/storage/walstore_v3.go` `WALStore.fenceV3`, `recoverV3`; `core/storage/recovery_v3.go` `fenceRangesV3` | `TestWALStoreV3DroppedRecordsNeverResurfaceAfterASecondCrash`, `TestWALStoreV3NoFenceResurrectsInBothModes`, `TestWALStoreV3FenceTouchesNoByteBeforeTheHead`, `TestWALStoreV3RecoversAHistoryEndingAtTheLastRepresentableCursor` (`core/storage/walstore_v3_test.go`); `TestRecoveryV3FenceRangesAreExact` (`core/storage/recovery_v3_test.go`) | `WALFormat` `NoResurrection` (claude05) | STUB |
|
||||
| `INV-WAL-V3-RESET-001` | A v3 nonce/position reset is refused, writing nothing, unless the dirty map is empty (no entry names an old-incarnation WAL position) and every appended LSN is checkpointed (CheckpointLSN >= appended, hence = acknowledged W). It publishes the new nonce with an empty cursor space into one slot and then the other, and is successful only after both. A crash between the two opens the new incarnation; no reuse floor exists across the two nonces, and no writer binds until Recover's head publication completes the other slot. LSNs, W and the map root are unchanged. A read holds no lock across its WAL read; it validates the whole record it read (CRC, footer, type, LBA, LSN) against the resolving dirty entry and re-resolves on a mismatch, so a position reused by the new incarnation never serves another block (LSN allocation runs on across a reset; no nonce is checked). It reports WAL damage only for an unchanged entry with the same recovery generation before and after the attempt (bumped at the start and the end of every recovery and reset); a failed pread is substrate I/O. | M1 Serving → Serving (reset, dark) | `core/storage/reset_v3.go` `WALStore.resetIncarnationV3`, `descriptorPublisherV3.resetIncarnationV3`, `halfResetV3`; `core/storage/descriptor_v3.go` `mergeDescriptorV3Mode`; `core/storage/walstore_v3.go` open and `recoverV3` | `TestResetV3RefusesWhileUncheckpointed`, `TestResetV3RefusesTheCurrentOrAZeroNonce`, `TestResetV3RetainedButCheckpointedBytesDoNotBlock`, `TestResetV3PublishesBothSlotsAndOnlyThenHasAFloor`, `TestResetV3CrashOutcomes`, `TestResetV3OrdinaryPublicationsCannotChangeTheNonce` (`core/storage/reset_v3_test.go`); `TestWALStoreV3ResetRefusesUncheckpointedOrUnacknowledgedData`, `TestWALStoreV3ResetPublishesBothSlotsAndWritesRecoverAcrossACrash`, `TestWALStoreV3ResetCrashOutcomes`, `TestWALStoreV3HalfResetRefusesWritesUntilRecover`, `TestWALStoreV3ReadParkedAcrossAResetAndOverwriteReturnsItsOwnBlock`, `TestWALStoreV3ReadMissRecheckParkedAcrossAResetReturnsItsOwnBlock`, `TestWALStoreV3ReadOfADamagedLiveRecordIsAnIntegrityFault`, `TestWALStoreV3ReadAcrossARecoveryThatReusesTheSamePositionAndLSNIsNotDamage`, `TestWALStoreV3ReadIOErrorsAreSubstrateIONotWALIntegrity`, `TestWALStoreV3ReadAdmittedBetweenRecoverBumpAndClearIsNotDamage` (`core/storage/reset_store_v3_test.go`) | `WALFormat` reset (claude05 r4.5, pending) | STUB |
|
||||
| `INV-WAL-V3-BASE-001` | A v3 BASE install begins only under `installMu` exclusive (draining the old ID's admitted mutations) and only when BaseLSN covers the acknowledged W (published or not yet), the checkpoint and every appended LSN (an unacknowledged record above BaseLSN would leave a hole behind BaseCursor; codex01 row 9a P1-1); otherwise it is refused, writing nothing, with `ErrInstallBaseUncovered` or `ErrInstallSupersedeUncovered`. It publishes installing (BaseLSN, BaseCursor = the writer head P, the ID) into both slots before the first BASE mutation. BASE extent writes and install-lane applies go only through the handle, under `installMu` shared: a handle lives until the next begin (an install epoch), `WriteBase` needs installing under its ID, and an install-lane apply is also admitted after the handle's own completion while installed or retired, because the session's WAL lane can outlive its BaseDone (DESIGN r17.4; `ErrInstallSuperseded` otherwise); the install lane keeps the order and gap rules. Complete validates the ID under `installMu` exclusive, fsyncs the BASE bytes and the suffix, runs the checkpoint's metadata and chunk barriers and publishes installed with retainedTail >= BaseCursor together with a fresh owned-map candidate carrying the BASE writes' UNKNOWN (codex01 row 9a P1-2) and stops serving the superseded pre-BASE records. installing -> none is refused (no abort); installed -> none retires only once the checkpoint covers BaseLSN and both slots carry a tail at or past BaseCursor; a chunk-managed store may defer it (`DeferBaseRetirementV3` at open) until its chunk layer has durably recorded local presence (`AllowBaseRetirementV3`), so the installed descriptor stays the provider's completed-image evidence; the provider's durable attach commit (`CommitChunkAttachV3`, under `installMu` exclusive: its fresh-marker removal and directory fsync, then the per-open durable-attach flag) lifts it for an installed volume, so a completed BASE never retires while a reopen could still read the volume as fresh from HEAD. | M1 Serving → Installing → Serving (dark) | `core/storage/base_install_v3.go` `WALStore.beginBaseInstallV3`, `installHandleV3.WriteBase`, `installHandleV3.ApplyInstallEntry`, `WALStore.markBaseCompleteV3`; `core/storage/descriptor_v3.go` `baseTransitionAllowedV3`, `retireBaseV3` | `TestBaseInstallV3BeginPublishesInstallingIntoBothSlots`, `TestBaseInstallV3BeginRefusesBelowW`, `TestBaseInstallV3BeginCoversTheAcknowledgedNotYetPublishedW`, `TestBaseInstallV3BeginRefusals`, `TestBaseInstallV3CompleteServesTheImageAcrossACrash`, `TestBaseInstallV3InstallingToNoneIsRefused`, `TestBaseInstallV3RetiresOnlyOnceTheCheckpointCoversBaseLSN`, `TestBaseInstallV3ApplyInstallEntryOrderAndGap`, `TestBaseInstallV3HeldOldWriteDrainsBeforeANewBegin`, `TestBaseInstallV3ParkedOldFrameIsRefusedAfterASupersession`, `TestBaseInstallV3BeginRefusesBelowTheHighestAppendedLSN`, `TestBaseInstallV3CompletePersistsTheMapUnknownOfBaseWrites`, `TestBaseInstallV3BeginRefusesWithAnAttachedChunkLayer`, `TestBaseInstallV3CompletedHandleAppliesUntilTheNextBegin`, `TestBaseInstallV3RetirementWaitsForTheGate` (`core/storage/base_install_v3_test.go`); `TestBaseInstallV3SupersessionAfterReopenFencesTheOldSuffix`, `TestBaseInstallV3CoveringSupersessionOverADamagedSuffix` (`core/storage/base_install_reopen_v3_test.go`); `TestBaseInstallV3ResumeAfterReopenFencesAndServesTheSuffix`, `TestBaseInstallV3ResumeRefusesADamagedSuffix`, `TestBaseInstallV3EBelowThePersistedHead`, `TestBaseInstallV3SameOpenRecoverLeavesNoStaleResumeCut`, `TestBaseInstallV3SameOpenRecoverKeepsTheLiveInstallServed`, `TestBaseInstallV3SameOpenRecoverOverDamageFailsClosed` (`core/storage/base_install_resume_v3_test.go`); `TestDescriptorV3BaseTransitionTable`; tagged `swblock_format_v3_test`: `TestReceiverV3InstallThroughTheHandle`, `TestReceiverV3HeldOldBaseWriteDrainsBeforeANewSession`, `TestReceiverV3ParkedOldFrameIsRefusedAfterANewSession`, `TestReceiverV3SupersededBaseDoneFailsWithoutAnAck`, `TestReceiverV3WALAfterBaseDoneStillApplies`, `TestReceiverV3WALAfterBaseDoneSurvivesACrash` (`core/recovery/receiver_install_format_v3_test.go`) | `WALFormat` handle and BASE configs (claude05 R17c, pending) | STUB |
|
||||
| `INV-WAL-V3-INSTALL-ACK-001` | While a v3 volume is installing, the logical `Sync` returns exactly (0, `ErrBaseInstalling`), runs no batch and acknowledges no new W, rechecked at its completion. The receiver's durable progress ack is `SyncInstallLog(installID)` on the narrow `InstallLogSyncer` (not on `LogicalStorage`; named only by `core/storage` and `core/recovery`): under `installMu` shared it refuses outside an install (`ErrNotInstalling`) or for another ID (`ErrInstallIDMismatch`), freezes H, fsyncs the WAL and publishes W = max(W, H) with BaseState still installing, always mode A, and acknowledges H only if no fault latched by its final check under `WALStore.mu` (the #172 ack boundary). It attests log durability only. After the session's own completion the receiver acks through the ordinary `Sync`. A v2 store's `SyncInstallLog` is its `Sync`. | M1 Installing (dark) | `core/storage/install_log_v3.go` `WALStore.SyncInstallLog`; `core/storage/walstore.go` `WALStore.Sync`; `core/recovery/receiver.go` `sendAck` | `TestInstallLogV3SyncIsGatedWhileInstalling`, `TestInstallLogV3Refusals`, `TestInstallLogV3IsModeAAndSurvivesACrash`, `TestInstallLogV3AFaultLatchedBeforeTheAckRefusesIt` (`core/storage/install_log_v3_test.go`); `TestInstallLogSyncerIsReceiverOnly` (`core/recovery/install_log_boundary_test.go`); tagged `TestReceiverV3ProgressAckIsTheInstallLog` | `WALFormat` install-log ack (claude05) | STUB |
|
||||
| `INV-WAL-V3-BATCH-001` | A v3 `WriteBatch` of n blocks is one multi-block record (type 0x04) with LSNs first..first+n-1 and one CRC32C, so a crash keeps all of it or none; the writer consumes the whole LSN range, so the next write continues after it. Each block's dirty entry names its data offset inside the record, and every reader (the store read, the flusher, recovery's replay, the install-path replays and the dark offline reader) validates the whole record and the block's LBA, LSN and offset in it. A torn unacknowledged batch is dropped whole; a torn acknowledged one fails closed; a failed batch pwrite latches the store and is never acknowledged. The map coverage follows every block's LSN. | M1 Serving (dark) | `core/storage/walstore_v3.go` `writeBatchV3Locked`, `replayRecordV3`, `readWholeRecordV3`, `blockOfRecordV3`, `flusher.readDirtyRecordV3`; `core/storage/walstore.go` `WriteBatch`; `core/storage/walstore_readonly_v3.go` | `TestWALStoreV3BatchRoundTripAcrossACrash`, `TestWALStoreV3TornBatchIsAllOrNothing`, `TestWALStoreV3CrashMidBatchServesNoneOfIt`, `TestWALStoreV3BatchAckCoversItsLastLSN`, `TestWALStoreV3BatchFlushesEveryBlock`, `TestWALStoreV3ReadOnlyReaderServesBatchBlocks`, `TestWALStoreV3BatchRecordsMapCoverage` (`core/storage/walstore_batch_v3_test.go`) | `WALFormat` batch records (claude05) | STUB |
|
||||
| `INV-WAL-V3-W-001` | v3 Sync acknowledges only after an fsync covers the batch. In mode C (the default) the slot carries the previous batch's acknowledged W and the batch's single fsync covers WAL and slot; in mode A the WAL fsync precedes a slot publication with W = H. Recovery refuses (`wal_corrupt`) when the contiguous prefix R above max(CheckpointLSN, BaseLSN) is below W* = max(slot W, max trusted DurableLSN). Mode C's only unprotected acknowledged data is the newest batch, against media corruption before the next Sync or the idle refresh; `SetWMode` and the refresh close that window. Flushed entries above the published checkpoint remain retry work, so a later Sync plus cycle can advance checkpoint and map coverage together. | M1 Recovering → Serving \| RecoveryFailed; M1 write lifecycle: Appended → Synced (v3) | `core/storage/walstore_v3.go` `WALStore.syncWALBatchV3`, `refreshW`, `SetWMode`, `recoverV3`, `appendWriteV3`; `core/storage/recovery_v3.go` `decideRecoveryV3`, `contiguousPrefixV3`; `core/storage/flusher.go` `flushOnceInternal` | `TestWALStoreV3CloseKeepsTheNewestSlotAAndItsW` (`core/storage/walstore_close_v3_test.go`); `TestWALStoreV3RecoversEveryAcknowledgedWriteInBothModes` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3ModeCWindowIsExactlyTheNewestBatch` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3RefreshAndSetWModeCloseTheWindow` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3TornUnsyncedTailIsNeverAFalseCorrupt` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3AppendWriteErrorLatchesTheStore` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3FlusherWritesTheExtentButHoldsTheCheckpointUntilTheMap` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3SyncRechecksTheFaultAtTheAckBoundary` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3SetWModeWaitsForAHeldBatch` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3NoBatchAcksUnderAStaleModeAfterSetWMode` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3SetWModeCrashCases` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3SameOpenRecoverResetsTheAcknowledgedFrontier` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3InstallingScanErrorIsTypedNotReady` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3FlusherCycleRunsTheIdleRefresh` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3RefreshDuringRecoverWaitsAndPublishesNothing` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3RecoverWaitsForABatchAckAndNothingRevivesTheCut` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3OuterSyncCompletionIsRefusedAcrossARecovery` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3FlusherCheckpointIsClampedToTheAcknowledgedW` (`core/storage/walstore_v3_test.go`); `TestWALStoreV3FlusherEmptyCycleRunsTheIdleRefresh` (`core/storage/walstore_v3_test.go`); `TestRecoveryV3Decision` (`core/storage/recovery_v3_test.go`); `TestRecoveryV3ContiguousPrefix` (`core/storage/recovery_v3_test.go`); `TestWALStoreV3_FlushedProgressRetriesAfterLaterSync` (`core/storage/walstore_flushed_progress_v3_test.go`) | `WALFormat` composed model | STUB |
|
||||
| `INV-WAL-V3-FENCE-001` | Before any append after a v3 recovery, the store zeroes exactly the logical WAL interval [E, floor+WALSize) (floor = both slots' same-nonce reuse floor) split at the physical wrap, fsyncs it through the leaf, then publishes retainedHead = E; no byte before E or outside the interval changes, so records dropped by one recovery never resurface after a second crash. | M1 Recovering → Serving (v3) | `core/storage/walstore_v3.go` `WALStore.fenceV3`, `recoverV3`; `core/storage/recovery_v3.go` `fenceRangesV3` | `TestWALStoreV3DroppedRecordsNeverResurfaceAfterASecondCrash`, `TestWALStoreV3NoFenceResurrectsInBothModes`, `TestWALStoreV3FenceTouchesNoByteBeforeTheHead`, `TestWALStoreV3RecoversAHistoryEndingAtTheLastRepresentableCursor` (`core/storage/walstore_v3_test.go`); `TestRecoveryV3FenceRangesAreExact` (`core/storage/recovery_v3_test.go`) | `WALFormat` `NoResurrection` | STUB |
|
||||
| `INV-WAL-V3-RESET-001` | A v3 nonce/position reset is refused, writing nothing, unless the dirty map is empty (no entry names an old-incarnation WAL position) and every appended LSN is checkpointed (CheckpointLSN >= appended, hence = acknowledged W). It publishes the new nonce with an empty cursor space into one slot and then the other, and is successful only after both. A crash between the two opens the new incarnation; no reuse floor exists across the two nonces, and no writer binds until Recover's head publication completes the other slot. LSNs, W and the map root are unchanged. A read holds no lock across its WAL read; it validates the whole record it read (CRC, footer, type, LBA, LSN) against the resolving dirty entry and re-resolves on a mismatch, so a position reused by the new incarnation never serves another block (LSN allocation runs on across a reset; no nonce is checked). It reports WAL damage only for an unchanged entry with the same recovery generation before and after the attempt (bumped at the start and the end of every recovery and reset); a failed pread is substrate I/O. | M1 Serving → Serving (reset, dark) | `core/storage/reset_v3.go` `WALStore.resetIncarnationV3`, `descriptorPublisherV3.resetIncarnationV3`, `halfResetV3`; `core/storage/descriptor_v3.go` `mergeDescriptorV3Mode`; `core/storage/walstore_v3.go` open and `recoverV3` | `TestResetV3RefusesWhileUncheckpointed`, `TestResetV3RefusesTheCurrentOrAZeroNonce`, `TestResetV3RetainedButCheckpointedBytesDoNotBlock`, `TestResetV3PublishesBothSlotsAndOnlyThenHasAFloor`, `TestResetV3CrashOutcomes`, `TestResetV3OrdinaryPublicationsCannotChangeTheNonce` (`core/storage/reset_v3_test.go`); `TestWALStoreV3ResetRefusesUncheckpointedOrUnacknowledgedData`, `TestWALStoreV3ResetPublishesBothSlotsAndWritesRecoverAcrossACrash`, `TestWALStoreV3ResetCrashOutcomes`, `TestWALStoreV3HalfResetRefusesWritesUntilRecover`, `TestWALStoreV3ReadParkedAcrossAResetAndOverwriteReturnsItsOwnBlock`, `TestWALStoreV3ReadMissRecheckParkedAcrossAResetReturnsItsOwnBlock`, `TestWALStoreV3ReadOfADamagedLiveRecordIsAnIntegrityFault`, `TestWALStoreV3ReadAcrossARecoveryThatReusesTheSamePositionAndLSNIsNotDamage`, `TestWALStoreV3ReadIOErrorsAreSubstrateIONotWALIntegrity`, `TestWALStoreV3ReadAdmittedBetweenRecoverBumpAndClearIsNotDamage` (`core/storage/reset_store_v3_test.go`) | `WALFormat` reset (r4.5, pending) | STUB |
|
||||
| `INV-WAL-V3-BASE-001` | A v3 BASE install begins only under `installMu` exclusive (draining the old ID's admitted mutations) and only when BaseLSN covers the acknowledged W (published or not yet), the checkpoint and every appended LSN (an unacknowledged record above BaseLSN would leave a hole behind BaseCursor); otherwise it is refused, writing nothing, with `ErrInstallBaseUncovered` or `ErrInstallSupersedeUncovered`. It publishes installing (BaseLSN, BaseCursor = the writer head P, the ID) into both slots before the first BASE mutation. BASE extent writes and install-lane applies go only through the handle, under `installMu` shared: a handle lives until the next begin (an install epoch), `WriteBase` needs installing under its ID, and an install-lane apply is also admitted after the handle's own completion while installed or retired, because the session's WAL lane can outlive its BaseDone (DESIGN r17.4; `ErrInstallSuperseded` otherwise); the install lane keeps the order and gap rules. Complete validates the ID under `installMu` exclusive, fsyncs the BASE bytes and the suffix, runs the checkpoint's metadata and chunk barriers and publishes installed with retainedTail >= BaseCursor together with a fresh owned-map candidate carrying the BASE writes' UNKNOWN and stops serving the superseded pre-BASE records. installing -> none is refused (no abort); installed -> none retires only once the checkpoint covers BaseLSN and both slots carry a tail at or past BaseCursor; a chunk-managed store may defer it (`DeferBaseRetirementV3` at open) until its chunk layer has durably recorded local presence (`AllowBaseRetirementV3`), so the installed descriptor stays the provider's completed-image evidence; the provider's durable attach commit (`CommitChunkAttachV3`, under `installMu` exclusive: its fresh-marker removal and directory fsync, then the per-open durable-attach flag) lifts it for an installed volume, so a completed BASE never retires while a reopen could still read the volume as fresh from HEAD. | M1 Serving → Installing → Serving (dark) | `core/storage/base_install_v3.go` `WALStore.beginBaseInstallV3`, `installHandleV3.WriteBase`, `installHandleV3.ApplyInstallEntry`, `WALStore.markBaseCompleteV3`; `core/storage/descriptor_v3.go` `baseTransitionAllowedV3`, `retireBaseV3` | `TestBaseInstallV3BeginPublishesInstallingIntoBothSlots`, `TestBaseInstallV3BeginRefusesBelowW`, `TestBaseInstallV3BeginCoversTheAcknowledgedNotYetPublishedW`, `TestBaseInstallV3BeginRefusals`, `TestBaseInstallV3CompleteServesTheImageAcrossACrash`, `TestBaseInstallV3InstallingToNoneIsRefused`, `TestBaseInstallV3RetiresOnlyOnceTheCheckpointCoversBaseLSN`, `TestBaseInstallV3ApplyInstallEntryOrderAndGap`, `TestBaseInstallV3HeldOldWriteDrainsBeforeANewBegin`, `TestBaseInstallV3ParkedOldFrameIsRefusedAfterASupersession`, `TestBaseInstallV3BeginRefusesBelowTheHighestAppendedLSN`, `TestBaseInstallV3CompletePersistsTheMapUnknownOfBaseWrites`, `TestBaseInstallV3BeginRefusesWithAnAttachedChunkLayer`, `TestBaseInstallV3CompletedHandleAppliesUntilTheNextBegin`, `TestBaseInstallV3RetirementWaitsForTheGate` (`core/storage/base_install_v3_test.go`); `TestBaseInstallV3SupersessionAfterReopenFencesTheOldSuffix`, `TestBaseInstallV3CoveringSupersessionOverADamagedSuffix` (`core/storage/base_install_reopen_v3_test.go`); `TestBaseInstallV3ResumeAfterReopenFencesAndServesTheSuffix`, `TestBaseInstallV3ResumeRefusesADamagedSuffix`, `TestBaseInstallV3EBelowThePersistedHead`, `TestBaseInstallV3SameOpenRecoverLeavesNoStaleResumeCut`, `TestBaseInstallV3SameOpenRecoverKeepsTheLiveInstallServed`, `TestBaseInstallV3SameOpenRecoverOverDamageFailsClosed` (`core/storage/base_install_resume_v3_test.go`); `TestDescriptorV3BaseTransitionTable`; tagged `swblock_format_v3_test`: `TestReceiverV3InstallThroughTheHandle`, `TestReceiverV3HeldOldBaseWriteDrainsBeforeANewSession`, `TestReceiverV3ParkedOldFrameIsRefusedAfterANewSession`, `TestReceiverV3SupersededBaseDoneFailsWithoutAnAck`, `TestReceiverV3WALAfterBaseDoneStillApplies`, `TestReceiverV3WALAfterBaseDoneSurvivesACrash` (`core/recovery/receiver_install_format_v3_test.go`) | `WALFormat` handle and BASE configs (pending) | STUB |
|
||||
| `INV-WAL-V3-INSTALL-ACK-001` | While a v3 volume is installing, the logical `Sync` returns exactly (0, `ErrBaseInstalling`), runs no batch and acknowledges no new W, rechecked at its completion. The receiver's durable progress ack is `SyncInstallLog(installID)` on the narrow `InstallLogSyncer` (not on `LogicalStorage`; named only by `core/storage` and `core/recovery`): under `installMu` shared it refuses outside an install (`ErrNotInstalling`) or for another ID (`ErrInstallIDMismatch`), freezes H, fsyncs the WAL and publishes W = max(W, H) with BaseState still installing, always mode A, and acknowledges H only if no fault latched by its final check under `WALStore.mu` (the #172 ack boundary). It attests log durability only. After the session's own completion the receiver acks through the ordinary `Sync`. A v2 store's `SyncInstallLog` is its `Sync`. | M1 Installing (dark) | `core/storage/install_log_v3.go` `WALStore.SyncInstallLog`; `core/storage/walstore.go` `WALStore.Sync`; `core/recovery/receiver.go` `sendAck` | `TestInstallLogV3SyncIsGatedWhileInstalling`, `TestInstallLogV3Refusals`, `TestInstallLogV3IsModeAAndSurvivesACrash`, `TestInstallLogV3AFaultLatchedBeforeTheAckRefusesIt` (`core/storage/install_log_v3_test.go`); `TestInstallLogSyncerIsReceiverOnly` (`core/recovery/install_log_boundary_test.go`); tagged `TestReceiverV3ProgressAckIsTheInstallLog` | `WALFormat` install-log ack | STUB |
|
||||
| `INV-WAL-V3-BATCH-001` | A v3 `WriteBatch` of n blocks is one multi-block record (type 0x04) with LSNs first..first+n-1 and one CRC32C, so a crash keeps all of it or none; the writer consumes the whole LSN range, so the next write continues after it. Each block's dirty entry names its data offset inside the record, and every reader (the store read, the flusher, recovery's replay, the install-path replays and the dark offline reader) validates the whole record and the block's LBA, LSN and offset in it. A torn unacknowledged batch is dropped whole; a torn acknowledged one fails closed; a failed batch pwrite latches the store and is never acknowledged. The map coverage follows every block's LSN. | M1 Serving (dark) | `core/storage/walstore_v3.go` `writeBatchV3Locked`, `replayRecordV3`, `readWholeRecordV3`, `blockOfRecordV3`, `flusher.readDirtyRecordV3`; `core/storage/walstore.go` `WriteBatch`; `core/storage/walstore_readonly_v3.go` | `TestWALStoreV3BatchRoundTripAcrossACrash`, `TestWALStoreV3TornBatchIsAllOrNothing`, `TestWALStoreV3CrashMidBatchServesNoneOfIt`, `TestWALStoreV3BatchAckCoversItsLastLSN`, `TestWALStoreV3BatchFlushesEveryBlock`, `TestWALStoreV3ReadOnlyReaderServesBatchBlocks`, `TestWALStoreV3BatchRecordsMapCoverage` (`core/storage/walstore_batch_v3_test.go`) | `WALFormat` batch records | STUB |
|
||||
| `INV-WAL-V3-MIGRATE-001` | ARCHIVED: the in-place v2 converter is removed. Public opens refuse v2 bytes without mutation; no upgrade path is provided. | M1 open refusal | `core/storage/walstore_v3.go` `openWALStoreV3WithOptions` | `TestNativeReplacementLegacyBytesRefusedWithoutMutation` (`core/storage/legacy_replacement_v3_test.go`) | none (retired tool) | ARCHIVED |
|
||||
| `INV-FE-FUA-SYNC-001` | A FUA write completes only after `Sync` succeeds. | M1 Serving (frontend) | `core/frontend/nvme/io.go` `IOHandler.write`; `core/frontend/ublk/dispatch.go` `handler.serve` | `TestSessionWriteBudgetDeadlineIsRetryableIncludingFUA` (expiry and joined physical-fault wire status); `TestNVMeWriteFUACompletion` (`core/frontend/nvme/fua_test.go`); `TestDispatch_WriteFUASyncsBeforeCompleting` (`core/frontend/ublk/dispatch_test.go`) | — | ACTIVE |
|
||||
| `INV-FE-FLUSH-SYNC-001` | A flush is a `Sync` of the backend, and a failed `Sync` fails the command instead of acknowledging it. The NVMe session records its mapped status and backend reason in the target log. | M1 Serving (frontend) | `core/frontend/nvme/io.go` `IOHandler.Handle`; `core/frontend/ublk/dispatch.go` `handler.serve` | `TestT3b_NVMe_Flush_DispatchesToBackend` (`core/frontend/nvme/t3b_flush_test.go`); `TestSessionFlushLogsBackendReason` (`core/frontend/nvme/flush_error_log_test.go`); `TestDispatch_FlushSyncs`, `TestDispatch_BackendFailuresAreReportedNotAcknowledged` (`core/frontend/ublk/dispatch_test.go`) | — | ACTIVE |
|
||||
@@ -407,9 +407,9 @@ Notes:
|
||||
- `INV-WAL-CHECKPOINT-SNAPSHOT-001`: The SIGKILL test is Linux only.
|
||||
- `INV-FE-FLUSH-SYNC-001`: NVMe/TCP also asserts failed-Sync status and reason logging through the actual session dispatch, and success produces no failure log.
|
||||
- `INV-WAL-V3-RESET-001`: Format bump v3, plan row 8 (DESIGN 8.6). Dark: no production path calls the reset, and it must not be activated before the reset model (r4.5) passes. No v3 tail release exists yet, so the precondition is CheckpointLSN >= W rather than an empty retained range: retained old-incarnation bytes at or below the checkpoint are preserved in the extent. The map root is unchanged by a reset, so no map page is retired.
|
||||
- `INV-WAL-V3-BASE-001`: Format bump v3, plan row 9a (DESIGN r17.3.1 sections 8.1, 8.2, 8.4, 8.5, 8.7). Dark: only tests reach it. Row 9b makes the seam `BaseInstallPreparer.BeginBaseInstall(baseLSN, installID) (InstallHandle, error)`: the dual-lane `Receiver` begins at SessionStart (BaseLSN = FromLSN, a fresh random ID) and its `RebuildSession` writes, applies and completes only through the handle, propagating the `MarkBaseComplete` error; stores without the seam keep their exact pre-seam behaviour through the lazy legacy handle (parallelwal's staging is now `BaseStager.BeginBaseStage`). Since row 10b the legacy single-lane caller (`core/transport/replica.go`) is on the handle too: the first admitted `MsgRebuildBlock` (or an empty rebuild's `MsgRebuildDone`) begins one install per connection at the lineage's frontier hint under a fresh random ID, blocks go through `WriteBase`, a different hint on the connection is refused, and done completes and then Syncs, closing the connection with no `MsgBarrierResp` when either fails; a reconnect is a superseding install under the coverage rule (tagged controls in `core/transport/replica_install_format_v3_test.go`). Until the chunk layer's side of the v3 install protocol lands (codex03), a v3 begin with an attached chunk layer is refused (`errV3NotYet`), writing nothing; since row 9c the v3 `SeedChunkFrontier` publishes CheckpointLSN = W = map coverage = lsn through the one checkpoint publication (`publishCheckpointV3`: data fsync, metadata and chunk barriers, owned-map candidate, the sole slot publisher under syncMu with the lifetime check), moves the volatile frontier only after it, publishes nothing on failure, and refuses local writes, an install, an attached layer or a store without an owned map; a HEAD restore onto a dark v3 store still refuses in the provider (`errV3RestoreNotYet`) until codex03's v3 FreshFromHead restore lands; since row 11a an installing physical reopen (an installing ID this open did not begin) keeps its recovered bounds (E, R, intact or damaged) without fencing, publishing or admitting; a same-open Recover of this open's live install records none, so its still-valid handle cannot append past a cached cut that a resume would fence from (codex01 row 11b P1); it republishes the live install's trusted records in the dirty map and keeps the volatile map coverage, or latches the store when the recovered cut is short of the live writer, and a covering superseding begin after it fences [E, floor + WALSize) and fsyncs before its two-slot installing publication, anchors at P = max(E, the persisted retainedHead) without lowering retainedHead, and restarts the writer at P (forward only); since row 11b the same-ID resume after a reopen (store level; no current caller resumes, both receivers begin fresh IDs) runs under `installMu` exclusive and appends nothing until the trusted-through-W check (intact suffix and E >= the persisted retainedHead), the fence of [E, floor + WALSize) with fsync and a retainedHead = E publication all held, refusing with `ErrInstallSuffixDamaged` and writing nothing otherwise; the writer continues at E and the recovered install-lane records are replayed. A begin while installed is refused until retirement (8.5 has no installed -> installing edge).
|
||||
- `INV-WAL-V3-BASE-001`: Format bump v3, plan row 9a (DESIGN r17.3.1 sections 8.1, 8.2, 8.4, 8.5, 8.7). Dark: only tests reach it. Row 9b makes the seam `BaseInstallPreparer.BeginBaseInstall(baseLSN, installID) (InstallHandle, error)`: the dual-lane `Receiver` begins at SessionStart (BaseLSN = FromLSN, a fresh random ID) and its `RebuildSession` writes, applies and completes only through the handle, propagating the `MarkBaseComplete` error; stores without the seam keep their exact pre-seam behaviour through the lazy legacy handle (parallelwal's staging is now `BaseStager.BeginBaseStage`). Since row 10b the legacy single-lane caller (`core/transport/replica.go`) is on the handle too: the first admitted `MsgRebuildBlock` (or an empty rebuild's `MsgRebuildDone`) begins one install per connection at the lineage's frontier hint under a fresh random ID, blocks go through `WriteBase`, a different hint on the connection is refused, and done completes and then Syncs, closing the connection with no `MsgBarrierResp` when either fails; a reconnect is a superseding install under the coverage rule (tagged controls in `core/transport/replica_install_format_v3_test.go`). Until the chunk layer's side of the v3 install protocol lands, a v3 begin with an attached chunk layer is refused (`errV3NotYet`), writing nothing; since row 9c the v3 `SeedChunkFrontier` publishes CheckpointLSN = W = map coverage = lsn through the one checkpoint publication (`publishCheckpointV3`: data fsync, metadata and chunk barriers, owned-map candidate, the sole slot publisher under syncMu with the lifetime check), moves the volatile frontier only after it, publishes nothing on failure, and refuses local writes, an install, an attached layer or a store without an owned map; a HEAD restore onto a dark v3 store still refuses in the provider (`errV3RestoreNotYet`) until the v3 FreshFromHead restore lands; since row 11a an installing physical reopen (an installing ID this open did not begin) keeps its recovered bounds (E, R, intact or damaged) without fencing, publishing or admitting; a same-open Recover of this open's live install records none, so its still-valid handle cannot append past a cached cut that a resume would fence from; it republishes the live install's trusted records in the dirty map and keeps the volatile map coverage, or latches the store when the recovered cut is short of the live writer, and a covering superseding begin after it fences [E, floor + WALSize) and fsyncs before its two-slot installing publication, anchors at P = max(E, the persisted retainedHead) without lowering retainedHead, and restarts the writer at P (forward only); since row 11b the same-ID resume after a reopen (store level; no current caller resumes, both receivers begin fresh IDs) runs under `installMu` exclusive and appends nothing until the trusted-through-W check (intact suffix and E >= the persisted retainedHead), the fence of [E, floor + WALSize) with fsync and a retainedHead = E publication all held, refusing with `ErrInstallSuffixDamaged` and writing nothing otherwise; the writer continues at E and the recovered install-lane records are replayed. A begin while installed is refused until retirement (8.5 has no installed -> installing edge).
|
||||
- `INV-WAL-V3-MIGRATE-001`: Archived with the converter and its legacy fixtures; v2 inputs refuse open without mutation.
|
||||
- `INV-WAL-V3-W-001`, `INV-WAL-V3-FENCE-001`: Format bump v3, plan rows 5 and 5b (DESIGN r15 sections 6.1 to 6.6). Since 5b the v3 format runs inside the real `WALStore`, through the shared committer, dirty map, flusher and leaf. It is reachable only through `createWALStoreV3ForTest`/`openWALStoreV3ForTest`. Without the row-7 map candidate the v3 checkpoint and tail do not advance. They are STUBs until activation (row 12b). The test "crash" closes the file without further writes, so the slot-before-records reordering that mode C's lagged W guards against is covered by the composed model (claude05), not by these tests. Installing recovery is row 11.
|
||||
- `INV-WAL-V3-W-001`, `INV-WAL-V3-FENCE-001`: Format bump v3, plan rows 5 and 5b (DESIGN r15 sections 6.1 to 6.6). Since 5b the v3 format runs inside the real `WALStore`, through the shared committer, dirty map, flusher and leaf. It is reachable only through `createWALStoreV3ForTest`/`openWALStoreV3ForTest`. Without the row-7 map candidate the v3 checkpoint and tail do not advance. They are STUBs until activation (row 12b). The test "crash" closes the file without further writes, so the slot-before-records reordering that mode C's lagged W guards against is covered by the composed model, not by these tests. Installing recovery is row 11.
|
||||
- `INV-WAL-V3-PUBLISH-001`: Format bump v3, plan row 3 (DESIGN r15 sections 4, 5 and 5.1). It is a STUB until the v3 store is wired in (rows 4 and 5) and activated (row 12b). The v2 checkpoint path (`persistCheckpointReleasing`) is unchanged and is retired in row 14a. The map coverage predicates against the root are added by row 7, and the conditions on BASE edges by rows 9 to 11.
|
||||
- `INV-WAL-V3-DESCRIPTOR-001`: Format bump v3, plan row 1 (DESIGN r15 section 2). It is a STUB until the activation commit (plan row 12b): no production open or create path reaches the v3 codec before then. The map-dependency checks (root and pages present and hash-valid) are added by plan row 7. The tests decode vectors from an independent generator (`core/storage/testdata/format_v3/slot/gen_slot_vectors.py`).
|
||||
|
||||
|
||||
@@ -305,7 +305,7 @@ java -cp /path/to/tla2tools.jar tlc2.TLC -deadlock -config cfg/REC_red_noInterna
|
||||
|
||||
The authored LIGHT receipts report exhaustive safe searches at 2,700 and 25,550
|
||||
states, plus the expected mutant/witness failures. Source and configs are copied
|
||||
from the sealed `claude05-walreclaim-tla-r0-20261119` artifact with line-ending
|
||||
from the sealed authoring artifact with line-ending
|
||||
normalization only. Those are prior author runs, not a claim that this PR reran
|
||||
TLC. This is an abstraction: physical fsync success, byte layout, crash recovery,
|
||||
both-slot retirement, timing and multiple writers remain covered by their other
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
----------------------------- MODULE WALReclaim -----------------------------
|
||||
(***************************************************************************)
|
||||
(* Liveness of v3 WAL reclaim under write pressure (claude05, 2026-11-19). *)
|
||||
(* Liveness of v3 WAL reclaim under write pressure (2026-11-19). *)
|
||||
(* Abstracts core/storage at seaweed-block main 39f11d6a: *)
|
||||
(* head = WAL head LSN (records appended) *)
|
||||
(* wack = durable WAL frontier; today advanced only by Sync *)
|
||||
@@ -14,7 +14,7 @@
|
||||
(* (walstore.go:829-832, admission at :850). A cut takes the capture *)
|
||||
(* write lock; Go's RWMutex makes a pending writer block new readers. *)
|
||||
(* *)
|
||||
(* InternalOn: the fix under review (codex03 design r0) - under pressure *)
|
||||
(* InternalOn: the fix under review - under pressure *)
|
||||
(* the store makes its own WAL durable (wack := head) with no guest Sync. *)
|
||||
(* Mut: *)
|
||||
(* "none" the design *)
|
||||
|
||||
+3
-3
@@ -30,7 +30,7 @@ component first -> product-backed gate only when the component boundary is green
|
||||
Milestone bundle:
|
||||
|
||||
```text
|
||||
V:/share/g15d-k8s/testops-runs/iscsi-pressure-close/20260511-091432-d7f6
|
||||
<evidence-store>/g15d-k8s/testops-runs/iscsi-pressure-close/20260511-091432-d7f6
|
||||
```
|
||||
|
||||
Remote product checkout used for the milestone gate:
|
||||
@@ -130,7 +130,7 @@ addressed them:
|
||||
Runner-native gate:
|
||||
|
||||
```text
|
||||
swblock run --results-dir V:/share/g15d-k8s/testops-runs/iscsi-pressure-close \
|
||||
swblock run --results-dir <evidence-store>/g15d-k8s/testops-runs/iscsi-pressure-close \
|
||||
--env product_root=/tmp/seaweed-block-plan-roadmap-refresh-devrun \
|
||||
--env ssh_key=C:/work/dev_server/testdev_key \
|
||||
testops/scenarios/iscsi-os-initiator-compat-chain.yaml
|
||||
@@ -141,7 +141,7 @@ Result:
|
||||
```text
|
||||
=== iscsi-os-initiator-compat-chain === PASS (1m13.531s)
|
||||
22 actions: 22 passed, 0 failed
|
||||
run bundle: V:\share\g15d-k8s\testops-runs\iscsi-pressure-close\20260511-091432-d7f6
|
||||
run bundle: <evidence-store>\g15d-k8s\testops-runs\iscsi-pressure-close\20260511-091432-d7f6
|
||||
```
|
||||
|
||||
The milestone gate re-proves the real Linux kernel initiator path after the
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ From the Windows controller:
|
||||
|
||||
```powershell
|
||||
swblock run `
|
||||
--results-dir V:/share/g15d-k8s/testops-runs/cluster-ops-inventory `
|
||||
--results-dir <evidence-store>/g15d-k8s/testops-runs/cluster-ops-inventory `
|
||||
--env product_root=/tmp/seaweed_block `
|
||||
--env ssh_key=C:/work/dev_server/testdev_key `
|
||||
C:/work/seaweed_block/testops/scenarios/cluster-ops-inventory-chain.yaml
|
||||
|
||||
+2
-2
@@ -9,7 +9,7 @@ Dev live gate evidence:
|
||||
|
||||
- Scenario: `testops/scenarios/cluster-ops-inventory-chain.yaml`
|
||||
- Run id: `20260512-202811-1aa7`
|
||||
- Bundle: `V:/share/g15d-k8s/testops-runs/lifecycle-gate/20260512-202811-1aa7`
|
||||
- Bundle: `<evidence-store>/g15d-k8s/testops-runs/lifecycle-gate/20260512-202811-1aa7`
|
||||
- Result: PASS, 9/9 phases, 73/73 actions
|
||||
|
||||
## Product Question
|
||||
@@ -201,7 +201,7 @@ Runner-native gate:
|
||||
|
||||
```powershell
|
||||
swblock run `
|
||||
-results-dir V:/share/g15d-k8s/testops-runs/lifecycle-gate `
|
||||
-results-dir <evidence-store>/g15d-k8s/testops-runs/lifecycle-gate `
|
||||
-env product_root=/tmp/seaweed-block-lifecycle-devrun `
|
||||
-env ssh_key=C:/work/dev_server/testdev_key `
|
||||
testops/scenarios/cluster-ops-inventory-chain.yaml
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ Runner commit: sw-test-runner-standalone @ 6ec7abd (swblock 15.9 MB Windo
|
||||
Host: m02 (192.168.1.184) — Ubuntu 24.04.3 LTS / k3s v1.34.4+k3s1
|
||||
Run id: 20260512-203746-8cf2 (QA-owned re-run)
|
||||
Dev run id (ref): 20260512-202811-1aa7
|
||||
Bundle: V:/share/g15d-k8s/testops-runs/lifecycle-gate/20260512-203746-8cf2
|
||||
Bundle: <evidence-store>/g15d-k8s/testops-runs/lifecycle-gate/20260512-203746-8cf2
|
||||
Scenario: testops/scenarios/cluster-ops-inventory-chain.yaml
|
||||
```
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ Happy path:
|
||||
|
||||
```powershell
|
||||
swblock run `
|
||||
--results-dir V:/share/g15d-k8s/testops-runs/same-node-alpha-attach `
|
||||
--results-dir <evidence-store>/g15d-k8s/testops-runs/same-node-alpha-attach `
|
||||
--env product_root=/tmp/seaweed_block `
|
||||
--env ssh_key=C:/work/dev_server/testdev_key `
|
||||
C:/work/seaweed_block/testops/scenarios/same-node-alpha-attach-chain.yaml
|
||||
@@ -39,7 +39,7 @@ Negative fixture:
|
||||
|
||||
```powershell
|
||||
swblock run `
|
||||
--results-dir V:/share/g15d-k8s/testops-runs/same-node-alpha-attach-negative `
|
||||
--results-dir <evidence-store>/g15d-k8s/testops-runs/same-node-alpha-attach-negative `
|
||||
--env product_root=/tmp/seaweed_block `
|
||||
--env ssh_key=C:/work/dev_server/testdev_key `
|
||||
C:/work/seaweed_block/testops/scenarios/same-node-alpha-attach-negative-chain.yaml
|
||||
|
||||
@@ -366,7 +366,7 @@ by the SRA/RDMA project, not as a Kubernetes node for seaweed_block.
|
||||
|---|---|
|
||||
| M02 (k3s alpha lab) | `192.168.1.184`, user `testdev` |
|
||||
| SSH key (controller-side) | `C:/work/dev_server/testdev_key` |
|
||||
| Shared SMB share | `V:/share` on Windows = `/mnt/smb/work/share` on Linux |
|
||||
| Shared SMB share (`<evidence-store>`) | the internal evidence store; `/mnt/smb/work/share` on Linux |
|
||||
| TestOps artifact root on M02 | `/mnt/smb/work/share/g15d-k8s/<run_id>-<scenario>/` |
|
||||
| Default `KUBECONFIG` on M02 | `/etc/rancher/k3s/k3s.yaml` |
|
||||
| TestOps control directory (when used) | `--control-dir` flag to `sw-testops` |
|
||||
@@ -416,7 +416,7 @@ The `swblock` runner can drive scenarios on M02 over SSH:
|
||||
|
||||
```powershell
|
||||
swblock run `
|
||||
--results-dir V:/share/g15d-k8s/testops-runs/<scenario-name> `
|
||||
--results-dir <evidence-store>/g15d-k8s/testops-runs/<scenario-name> `
|
||||
--env product_root=/tmp/seaweed_block `
|
||||
--env ssh_key=C:/work/dev_server/testdev_key `
|
||||
C:/work/seaweed_block/testops/scenarios/<scenario>.yaml
|
||||
@@ -424,7 +424,7 @@ swblock run `
|
||||
|
||||
Scenario artifacts land under both:
|
||||
|
||||
- The Windows result bundle at `V:/share/g15d-k8s/testops-runs/...`,
|
||||
- The Windows result bundle at `<evidence-store>/g15d-k8s/testops-runs/...`,
|
||||
- The M02-side artifact dir at `/mnt/smb/work/share/g15d-k8s/<run_id>-*/`.
|
||||
|
||||
### 9.5 Lab Hygiene After A Run
|
||||
|
||||
@@ -103,7 +103,7 @@ Run the full protocol release gate:
|
||||
|
||||
```bash
|
||||
swblock suite \
|
||||
--results-dir V:/share/g15d-k8s/testops-runs/protocol-release-gate-native \
|
||||
--results-dir <evidence-store>/g15d-k8s/testops-runs/protocol-release-gate-native \
|
||||
--env product_root=/tmp/seaweed-block-nvme-p4l \
|
||||
--env ssh_key=C:/work/dev_server/testdev_key \
|
||||
C:/work/seaweed_block/testops/suites/protocol-release-gate.yaml
|
||||
@@ -113,7 +113,7 @@ Validate a finished protocol release gate bundle:
|
||||
|
||||
```bash
|
||||
swblock validate-bundle --profile protocol-release-gate \
|
||||
V:/share/g15d-k8s/testops-runs/protocol-release-gate-native/<run-id>
|
||||
<evidence-store>/g15d-k8s/testops-runs/protocol-release-gate-native/<run-id>
|
||||
```
|
||||
|
||||
## Responsibility Boundary
|
||||
|
||||
@@ -154,7 +154,7 @@ controller, pointing it at the remote product checkout on m02:
|
||||
|
||||
```powershell
|
||||
swblock suite `
|
||||
--results-dir V:/share/g15d-k8s/testops-runs/protocol-release-gate-native `
|
||||
--results-dir <evidence-store>/g15d-k8s/testops-runs/protocol-release-gate-native `
|
||||
--env product_root=/tmp/seaweed-block-nvme-p4l `
|
||||
--env ssh_key=C:/work/dev_server/testdev_key `
|
||||
C:/work/seaweed_block/testops/suites/protocol-release-gate.yaml
|
||||
@@ -164,7 +164,7 @@ Validate the bundle before manual artifact review:
|
||||
|
||||
```powershell
|
||||
swblock validate-bundle --profile protocol-release-gate `
|
||||
V:/share/g15d-k8s/testops-runs/protocol-release-gate-native/<run-id>
|
||||
<evidence-store>/g15d-k8s/testops-runs/protocol-release-gate-native/<run-id>
|
||||
```
|
||||
|
||||
QA close evidence:
|
||||
@@ -264,7 +264,7 @@ Run shape:
|
||||
|
||||
```powershell
|
||||
swblock suite `
|
||||
--results-dir V:/share/g15d-k8s/testops-runs/beta-hardening-gate `
|
||||
--results-dir <evidence-store>/g15d-k8s/testops-runs/beta-hardening-gate `
|
||||
--env product_root=/tmp/seaweed-block-plan-roadmap-refresh-devrun `
|
||||
--env ssh_key=C:/work/dev_server/testdev_key `
|
||||
C:/work/seaweed_block/testops/suites/beta-hardening-gate.yaml
|
||||
|
||||
Reference in new issue
Block a user