Commit Graph
4508 Commits
Author SHA1 Message Date
pingqiu 984e94fc40 perf: share immutable map entry pages between candidates 2026-11-30 21:37:16 -08:00
pingqiu 9b07f4b7b5 docs: retain the existing linear empty-map creation contract 2026-11-30 21:37:16 -08:00
pingqiu 7e9700782e test: align map cost boundary with first-open upgrade 2026-11-30 21:37:16 -08:00
pingqiu 51ca6d2432 test: expose legacy store creation admission gap 2026-11-30 21:37:16 -08:00
pingqiu a8d922942b test: expose whole-map checkpoint copy at one TiB 2026-11-30 21:37:16 -08:00
Ping Qiu 468b7a3db2 Merge pull request #819 from seaweedfs/docs/main-is-v11
docs: README says main is v1.1 in development; v1.0.x ships from release-1.0
2026-11-30 21:37:06 -08:00
Ping Qiu c77280cd25 Merge pull request #858 from seaweedfs/feat/v4b-record-pages
storage: chunk record pages persisted and opened on the draft v1.1 format (V4-B step 2)
2026-11-30 20:48:30 -08:00
pingqiuandClaude Opus 5.5 0d43da4d0d storage: run the deadlock-sensitive v1.1 tests in a bounded child process
A stuck worker or a Close that never returns is a prompt test failure at
the child's bound, with a control that leaves a worker stuck; the Close
worker is joined on every path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 20:27:51 -08:00
pingqiuandClaude Opus 5.5 60f20f1518 docs: ledger rows for the v1.1 chunk record (WAL-backed pages, fill holds, evict receipt)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 20:24:55 -08:00
pingqiuandClaude Opus 5.5 5e6eb7c79e storage: v1.1 chunk record: the header's G is bounded by the WAL's last sync; no extra sync at a clean stop
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 20:07:43 -08:00
pingqiu e9ad1ce991 Merge remote-tracking branch 'origin/main' into feat/v4b-record-pages 2026-11-30 19:53:34 -08:00
pingqiuandClaude Opus 5.5 b6cbaf73ab storage: v1.1 chunk record: pages backed by the WAL; fill holds until the durable mark; evict needs its page on every attempt
- a page is stamped with the position its content includes, and the WAL
  is synced through it before the page is written (the header's G too)
- the write's version bump and its applied position move under the
  record's lock, together
- every fill holds its chunk (A or P on the page) until one mark round
  makes the blocks durable in the store's bits; a later write keeps it
- an evict writes the page holding the chunk before the bits clear, also
  on a retry that finds the chunk absent in memory
- the concurrency tests bound every wait and join their workers

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 19:53:32 -08:00
Ping Qiu e3ea7619bc Merge pull request #859 from seaweedfs/fix/coverage-speculative-suffix
fix: sync speculative WAL before coverage publication
2026-11-30 19:47:29 -08:00
Ping Qiu a01e4d00b8 Merge pull request #860 from seaweedfs/docs/stale-test-and-key-names
docs: name current HEAD keys and tests; drop a removed perf command
2026-11-30 19:43:14 -08:00
pingqiuandClaude Opus 5.5 5b3e4ab83e storage: the attach reports the upgrade's presence save and pages as progress
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 19:38:20 -08:00
pingqiu 646b6c5a2b fix: classify unsynced coverage initialization as stale 2026-11-30 19:25:50 -08:00
pingqiu 01cd2806c5 test: cover crashes before the WAL-before-page sync 2026-11-30 19:23:44 -08:00
pingqiuandClaude Opus 5.5 81b88710ac docs: the HEAD CAS step names the current conditional keys
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 19:21:49 -08:00
pingqiu a872fd6513 test: cover WAL ordering at every bitmap publication entrypoint 2026-11-30 19:20:56 -08:00
pingqiuandClaude Opus 5.5 676b6414a6 storage: v1.1 chunk record: use the open-time upgrade; pages never past the durable WAL; review fixes
- attach calls upgradeChunkRecord (presence saved first for a fresh attach)
  instead of a second upgrade: log-only writes are seeded, a marked store
  is rebuilt from its bits, never from engine state
- a page's position is clamped to the last completed WAL sync, and a
  clean stop syncs the WAL before its final pages
- the attach refuses if the store closed while the upgrade had released
  its barrier
- an evict clears the store's bits only after its absent page is durable;
  fill-mark batches and evicts are serialized (markMu)
- a marked store never parses a leftover .chunkpresence
- a final page failure is the result of the layer's and the store's Close

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 19:20:55 -08:00
pingqiuandClaude Opus 5.5 0739925e68 docs: name current HEAD keys and tests; drop a removed perf command
The HEAD entry's conditional keys are swb.layout.gen and swb.layout.volume,
written by LayoutStore.UpdateHead; the integration tests named in the
workspace design were replaced by the layout ones. The manifest perf test
no longer exists, so its command is removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 19:18:02 -08:00
pingqiu 650b034b91 fix: sync captured WAL prefix before coverage map pages 2026-11-30 19:14:50 -08:00
pingqiu 0783eee74b test: pin coverage authority after a discarded first append 2026-11-30 19:07:09 -08:00
pingqiu 44967d1b30 Merge remote-tracking branch 'origin/main' into feat/v4b-record-pages 2026-11-30 19:05:40 -08:00
pingqiu 94f1e5d083 test: reproduce dropped speculative suffix with coverage format 2026-11-30 19:04:51 -08:00
Ping Qiu a5f213b62c Merge pull request #857 from seaweedfs/feature/v11-chunk-local-mutations
storage: batch durable chunk-local bitmap mutations
2026-11-30 18:56:16 -08:00
pingqiuandClaude Opus 5.5 32e8135a47 ci: allow the v1.1 format guard files to name the lab tag; vet core/storage with it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 16:59:32 -08:00
pingqiuandClaude Opus 5.5 c11d913c6f storage: describe the evict's clear order by what it is
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 16:56:22 -08:00
pingqiuandClaude Opus 5.5 58ae8f4575 storage: v1.1 chunk record: fills marked in one batch before their pages claim them; evict clears the store's bits
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 16:47:45 -08:00
pingqiuandClaude Opus 5.5 29c6a0c3ee storage: v1.1 chunk record: recover a crash at each upgrade step; rebuild a damaged page
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 16:44:47 -08:00
pingqiuandClaude Opus 5.5 5056297fbf storage: v1.1 chunk record: attach progress for the pages; stop-time red at 1 TiB
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 16:44:47 -08:00
pingqiuandClaude Opus 5.5 5926bedda4 storage: v1.1 chunk record: sync before the upgrade; v1.0-only presence tests; open-time exemptions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 16:44:47 -08:00
pingqiuandClaude Opus 5.5 9585e840b7 storage: v1.1 chunk record: upgrade at attach, load at open, pages written
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 16:44:47 -08:00
pingqiuandClaude Opus 5.5 fc222d2386 storage: v1.1 format build guard; the mutation hook carries the write's LSN
The draft v1.1 store format runs only in lab builds and in this package's
tests (chunkV11Format). The mutation hook passes the write's store
position, so the chunk record knows the position through which it has
applied every write.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 16:44:47 -08:00
pingqiu d8bfc6f958 docs: distinguish coverage validation and latched publication errors 2026-11-30 15:29:21 -08:00
pingqiu 5086b16877 test: classify chunk-local bitmap controls in fresh guard census 2026-11-30 15:28:50 -08:00
pingqiu 135865a69a docs: clarify chunk-local failure and eviction cost boundaries 2026-11-30 15:02:40 -08:00
pingqiu ec2eb93aeb storage: batch filled chunk coverage into one publication 2026-11-30 14:54:12 -08:00
pingqiu 47ca5d5623 docs: normalize local coverage contract ending 2026-11-30 14:42:54 -08:00
pingqiu 8ab67642bd storage: publish durable local coverage mutations 2026-11-30 14:41:47 -08:00
Ping Qiu e6a93eca55 Merge pull request #834 from seaweedfs/feat/v11-record-upgrade
storage: upgrade a v1.0.x volume's chunk state at open
2026-11-30 14:37:15 -08:00
Ping Qiu e0e6acba8a Merge pull request #855 from seaweedfs/test/fence-rejoin-epoch
test(blockvolume): the survivor-rejoin test asserts the rejoin, not epoch 2
2026-11-30 14:32:59 -08:00
Ping Qiu 8beecad1dc Merge pull request #849 from seaweedfs/feat/lab-heap-profile
Serve lab heap profiles on the existing status listener
2026-11-30 14:29:52 -08:00
Ping Qiu 155d4e9ca7 Merge pull request #845 from seaweedfs/feat/v4b-record-shadow
storage: drive the chunk record from the engine's events, in shadow (V4-B step 1)
2026-11-30 14:29:47 -08:00
Ping Qiu 1e2b926024 Merge pull request #856 from seaweedfs/docs/v101-verify-time-main
docs: v1.0.1 note says how verify's time grows and what to set
2026-11-30 14:16:43 -08:00
Ping Qiu 90112cf50f Merge pull request #850 from seaweedfs/fix/map-validation-close-errors
Preserve chunk-map validation cleanup errors
2026-11-30 14:03:18 -08:00
pingqiuandClaude Opus 5.5 3c2a0625ae test(blockvolume): the rejoin waits for one epoch the primary and both peers share
Sampling r1's epoch and then waiting for that exact epoch failed when a
further round moved it in between. waitRejoinConverged polls until r1 is a
healthy primary at some epoch e >= 2 and r2 and r3 are healthy peers at the
same e, read in one pass, and returns e.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 14:01:51 -08:00
pingqiuandClaude Opus 5.5 cde7dfac64 storage: chunk record shadow: bind the scratch exemption to its version; no strict-suite bypass
- the scratch-cut exemption holds only while the chunk keeps the version
  the scratch cut captured; a stale capture grants nothing
- TestMain has no switch that turns the strict findings off
- the raced-fill test bounds every wait and always releases and joins
  its reader

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 14:01:24 -08:00
pingqiuandClaude Opus 5.5 b2fb15b9f6 docs: v1.0.1 note on main drops the release gates' placeholder line, as on release-1.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 13:53:04 -08:00
pingqiu 0fbf4900c2 docs: v1.0.1 note says how verify's time grows and what to set
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 63ca9b2883)
2026-11-30 13:51:30 -08:00