Files
seaweedfs/seaweed-block/docs/design/lba-width-census.tsv
T
pingqiuandClaude Opus 5.5 68045d9698 durable: remove the smartwal and parallel-walstore engines
- The provider refuses the removed names and, under every selector and
  before any selector comparison, a volume carrying their magic (SWAW;
  SWPW in either header slot), reading the file read-only and never
  modifying it. blockvolume --durable-impl and the launcher refuse the
  names with the same advice; the chart schema allows walstore only.
- core/storage/smartwal, core/storage/parallelwal and
  cmd/sw-block-testutil (whose one command corrupted smartwal records)
  are deleted, with the helm smartwal-corruption scenario and the
  parallel-walstore gate script.
- The replication harness runs on walstore; tests that ran on a removed
  engine only because a stub needed some store move to walstore, and the
  state_convergence label test moves to the in-memory BlockStore.
- sw-block cluster.check drops the removed engines' cases.
- Ledger: INV-OPEN-REMOVED-ENGINE-REFUSED-001 and
  INV-OPEN-REMOVED-ENGINE-NAME-REFUSED-001, an OpenRefused edge in M1, and
  the rows citing the removed tests updated. Docs: block-design 1.3 now
  describes the removal, the smartwal deep-dive and figure are gone, the
  scripts default to walstore, and the v1.1 notes carry the removal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 20:38:54 -08:00

2.6 KiB

1versioncomponentplacementfieldbitssourceaction
2lba-width-census/1walstore-v3diskwalEntryV3.LBA64core/storage/wal_entry_v3.go:127LE uint64 bytes 18:26; preserve existing encoding
3lba-width-census/1walstore-v3diskdescriptorV3.VolumeSize/BaseCursor64core/storage/superblock_v3.go:141Byte size and BASE cursor already uint64
4lba-width-census/1walstore-v3diskmap page index64core/storage/chunk_lsn_map_v3.go:86LE uint64 bytes 48:56; block/chunk identity is implicit in page and entry ordinal
5lba-width-census/1walstore-v3diskmap root chunks/chunkBlocks/pages64core/storage/chunk_lsn_map_v3.go:120LE uint64 at 48/56/72; entries carry LSN not LBA
6lba-width-census/1walstore-v3diskpresence absent/local index64core/storage/chunk_layer.go:2003Canonical decimal parsed with bitSize 64; new bitmap replaces this in the single upgrade
7lba-width-census/1chunk-recorddisk-proposedpage segment / header chunks64core/storage/chunk_record.go (#816)page Segment and header Chunks already uint64; chunk within segment implicit; candidates uint32 is bounded count not LBA
8lba-width-census/1remote-layoutdisksegment shard/chunk index/root shard64core/frontend/chunkstore/layout/layout.go:181uint64 uvarint; no new remote format needed for address width
9lba-width-census/1storage-contractmemoryLogicalStorage addresses and NumBlocks32core/storage/logical_storage.go:63Must widen for serving high addresses; current geometry refuses above uint32
10lba-width-census/1storage-contractmemoryRecoveryEntry.LBA32core/storage/recovery_contract.go:80Scan/restore narrow existing 64-bit WAL addresses; update every adapter
11lba-width-census/1storage-contractmemoryBlockMetadata hooks and NumBlocks32core/storage/block_metadata.go:15Enterprise metadata seam must be widened or explicitly refused; no OSS persisted index here
12lba-width-census/1replicationwireEntry/base/WAL addresses and counts32core/transport/protocol.go:235;core/recovery/wire.go:115Not disk format; cannot serve large replicated volumes until negotiation/codecs and callers are widened
13lba-width-census/1geometryadmissionMaxVolumeBytes / ValidateBlockGeometry32core/geometry/volume_size.goExisting cap is API capacity, not proof of a narrow default WAL field; keep until full path is qualified
14lba-width-census/1memorywal-and-BlockStorememorymaps and addresses32core/storage/memorywal/store.go;core/storage/store.goNo disk format; adapters still must satisfy widened contract
15lba-width-census/1v1-bitmapdisk-owedper-block local bitmap64V1 format sliceGlobal block/chunk/page identity and coverage counts must be uint64; bit within bounded page may stay bounded