mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
record() rebuilt a volume's store record from a new attestation and carried Initial and AwaitingFirstReady over but not DeleteWithoutAck, so a late attestation of the last store erased the mark and ended the frozen wait. The mark is now carried like the other one-way fields and compared in sameAttestation. TestTheDeleteMarkFreezesTheStoreWait (an attestation of every store after the mark, then a restart) is the red control. A source census pins the rules: a record is built only in open and in record, record carries the mark over, and only markDeleteWithoutAck writes it (true); its controls break each rule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>