Commit Graph
802 Commits
Author SHA1 Message Date
pingqiuandClaude Opus 5.5 d6ef70d2fe fix(sw-block): mini binds weed to loopback, owns every port and its dir, and watches all children
Review follow-up. weed mini gets -ip.bind=127.0.0.1 (its -ip alone is the
advertised address; the bind defaulted to 0.0.0.0), every listener's port
explicitly (master, volume and filer HTTP and gRPC), all preflighted and
moved by --port-shift, and its S3, WebDAV and admin UI off. --size refuses
an overflowing value. The dir is claimed by one exclusive mkdir (or must
exist with --reuse) and held by a lock for the run, before any write.
Startup and the layout id wait stop at once when any child dies.

Tests: the supported commands pinned value for value, with controls; a
busy weed port; port shift; one mini per dir; weed dying during startup;
the process tests register their bounded cleanup before any assertion.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 13:47:39 -08:00
pingqiuandClaude Opus 5.5 9613086d50 fix(sw-block): mini prints only commands it has, and says to disconnect before stopping
Review follow-up. The next steps name only commands this binary runs (the
workspace show and chunk snapshots checks, a snapshot), each parsed by a
test; no shell line until the shell exists. Without weed, the missing
chunk store is mini's own sentence, not a check that did not run. With
the connect command and again at stop, mini says to unmount and nvme
disconnect first; at stop it says the data stays in --dir and --reuse
resumes it; one line names it a trial setup (one host, loopback, no
authentication).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 13:44:41 -08:00
pingqiuandClaude Opus 5.5 33474e882d feat(sw-block): mini --port-shift moves every port; weed mini's filer gRPC and volume ports are passed and checked
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 13:38:05 -08:00
pingqiuandClaude Opus 5.5 7b7c9b36fd feat(sw-block): mini starts the single-host setup in one command
sw-block mini starts weed mini (when a weed binary is found: --weed, else
PATH), blockmaster and one blockvolume (v1) on loopback with the
standalone page's flags: walstore-chunk with the chunk control endpoint
and the workspace lease when weed is there, walstore with a banner in
its first lines when it is not. It prints every command it runs, refuses
an existing --dir unless --reuse and a busy port, never runs sudo or
nvme connect (it prints the connect command and the next steps), and
stops every child, the last started first, on Ctrl-C or when one exits.

A test pins mini's walstore commands to the page's swb_start block and
every chunk flag to a flag the page documents.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 13:35:11 -08:00
pingqiuandClaude Opus 5.5 16c8f86864 test: bound each NVMe command, and give the review helper a hang guard, not a 10 s budget
- The NVMe initiator renews its deadline (nvmeIODeadline, 60 s) before every
  I/O command, so it bounds each command instead of the connection's whole
  life: requireBlocks' 65,536 reads no longer race one dial-time deadline.
- reviewBindingHostBeforeStart's context is a hang guard for the whole test
  (60 s, was 10 s), so a slow host's setup does not use up the time the
  later calls and the successor probe need.

TestNVMeInitiatorDeadlineBoundsEachCommand and
TestWorkspaceRPCSameHostForcedRecoveryOutlivesASlowSetup pass; test-only,
no product change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 10:05:22 -08:00
pingqiuandClaude Opus 5.5 2095acfd7a test: red: a slow host's setup and a full-volume read outlast fixed test bounds
Two tests fail on a slow host while CI passes (a WSL run with its scratch
on a mounted Windows drive). Both fail because a fixed bound in the test,
not the product, runs out:

- TestWorkspaceRPCSameHostForcedRecoveryRecordsLoss: the successor probe and
  the later calls run under reviewBindingHostBeforeStart's 10 s context, and
  a slow setup uses it up ("signal: killed"). The new
  TestWorkspaceRPCSameHostForcedRecoveryOutlivesASlowSetup pauses 11 s
  before the probe (both clocks the test reads are fake, so no lease
  changes) and fails on main on any host.
- TestCutoverWriteSnapshotKillRestartRestore: the NVMe initiator sets one
  deadline at dial (60 s) and requireBlocks then reads all 65,536 blocks on
  that connection. The new TestNVMeInitiatorDeadlineBoundsEachCommand shortens
  the deadline (now the variable nvmeIODeadline) to 2 s, idles 2.5 s and
  reads one block: it fails on main on any host.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 10:05:01 -08:00
Ping Qiu dbac027b5a Merge pull request #686 from seaweedfs/fix/max-volume-size
fix: refuse a new volume above the maximum size at both create doors
2026-11-27 19:03:15 -08:00
pingqiuandClaude Opus 5.5 6b5f656247 test: pick each weed server's ports just before it starts
The three servers' port pairs were picked together before the master
started, and the filer binds its pair seconds later; a listener that
appears in between (another job's weed on the same host) took the filer's
gRPC port. Each pair is now picked right before its server starts. A
cluster with a fault-injection filer front gets the same fresh-ports
retry: its front is built again on each start's ports.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:11:56 -08:00
pingqiuandClaude Opus 5.5 57cfe0827f test: max volume size boundary at one block above, at both doors
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:04:50 -08:00
pingqiuandClaude Opus 5.5 aa23975624 fix: refuse a new volume above the maximum size at both create doors
CreateVolume and the cluster-spec start check refuse a new volume above
geometry.MaxNewVolumeBytes with ErrVolumeTooLarge, naming the size and the
maximum, before any record or store exists. The check is at creation
only: a volume that already exists keeps opening under the uint32-LBA
limit. The value is a placeholder (MaxVolumeBytes) until it is set from
the measured capacity limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 17:58:23 -08:00
pingqiuandClaude Opus 5.5 dd2e8a8517 test: start the weed cluster again on fresh ports when a server never listens
A start whose master gRPC port is held by another listener never brings
up its filer; the wait for a listening server stopped the test with
t.Fatalf before the fresh-ports retry could run. The start now returns that
error, so it is discarded and started again like a start that never
accepts a write.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 14:38:08 -08:00
pingqiuandClaude Opus 5.5 8e6aca8c39 test: a weed pair's HTTP slices never meet another shard's gRPC ports
With a high ephemeral lower bound the weed pair range ran to 40000, so one
shard's HTTP slice (20000-29999 for shards 1-2, 30000+ for shards 3-4)
could meet another shard's gRPC ports (HTTP + 10000). weedPairRange caps
the HTTP range at 30000, below every gRPC port, and below the ephemeral
range less 10000 when that leaves room (the Linux default, 32768, still
gives 20000-22767). TestWeedPairSlicesNeverMeetAcrossShards checks every
pair of shards' HTTP and gRPC slices for ephemeral bounds from 28000 to
61000; with the old cap it fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 09:19:10 -08:00
pingqiuandClaude Opus 5.5 f5ef643295 test: a CI shard draws its test ports from its own slice
Several process-level test binaries can now run in parallel on one host:
with SWBLOCK_TEST_PORT_SHARD=k and SWBLOCK_TEST_PORT_SHARDS=n, the harness's
random port pickers (handoffAddress, the head-size pickers, and the weed
pair picker's usable range) draw only from the k-th of n equal slices, so
two shards never pick the same port. Unset, the whole range, as before.
TestTestPortSpanGivesEachShardItsOwnSlice covers the slices and the
fallbacks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 08:41:16 -08:00
pingqiuandClaude Opus 5.5 b78a01e239 test: start the weed cluster again on fresh ports when it never accepts a write
The harness checks each weed port pair free and releases it before weed
binds it, reserving it only inside the test process. On a runner host shared
with another job, a port can be taken in between; the master then cannot
reach the volume server's gRPC port and the cluster never accepts a write,
failing the test as an environment flake.

A start whose probe never accepts a write is now stopped (each process's log
tail logged) and the cluster is started again on fresh ports in a
subdirectory of the same root, up to 3 starts. A cluster with a
fault-injection front keeps one start.

TestWeedStartAgainOnFreshPortsWhenAPortIsTaken holds the first start's
volume gRPC port with a plain HTTP server (as another job's listener): the
first start fails as the CI runs did, and the second accepts a write. With
one start only, the test fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 23:36:28 -08:00
Ping Qiu 37aa6a53db Merge pull request #655 from seaweedfs/test/layout-move-lines
test: layout move and lease tests run the product loop and the gate's prebuilt binary
2026-11-26 20:35:30 -08:00
Ping Qiu 127bbff374 Merge pull request #651 from seaweedfs/docs/automatic-failover
docs: a lost replicated primary is failed over automatically
2026-11-26 20:18:49 -08:00
Ping Qiu 7c14d5bbec Merge pull request #660 from seaweedfs/fix/snapshot-limit-before-cut
fix(snapshot): refuse a snapshot past the limit before its cut
2026-11-26 19:48:41 -08:00
pingqiuandClaude Opus 5.5 fe85c6948e test: a delete refused by dependents leaves the volume reserved
Against the real master: a volume-delete refused with
snapshot_has_dependents has already reserved the volume, so workspace
show answers "workspace: volume is being deleted" (exit 1) and HEAD with
its snapshots is unchanged. The control, a delete refused before any
reservation (an established volume under a live lease), leaves show
answering the volume normally. The volume-lifecycle row cites it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 18:57:19 -08:00
Ping Qiu 08a67c4b07 Merge pull request #654 from seaweedfs/fix/revoke-ack-retry
fix(blockvolume): ask a revocation ACK again until the lease deadline
2026-11-26 16:44:38 -08:00
pingqiuandClaude Opus 5.5 79055a1e74 fix(snapshot): refuse a snapshot past the limit before its cut
A snapshot request on a volume already holding the maximum number of
snapshots ran its cut first and met the limit only at the commit. With new
data, the cut committed unnamed; with none, the cut's session stayed open
on HEAD. Either way HEAD moved, and the answer was 500 internal because
the HTTP mapping had no case for the limit or for a taken name.

SnapshotVolume now checks the count under the volume's snapshot lock,
before it names the cut or opens a session, so the refusal writes
nothing. The holder answers 409 snapshot_limit (new code) and 409
snapshot_exists, neither retryable. The in-commit check stays as the
backstop.

Tests: the snapshot past the limit through the real provider, chunk
control and HTTP route answers 409 snapshot_limit with HEAD unchanged
(generation, activity, root, position), with nothing new and with new data
waiting; the provider test changes from "the cut commits unnamed" to the
same; a volume-delete under a live lease against the real master answers
not_admitted with "deletion refused before persistence".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 16:08:18 -08:00
pingqiuandClaude Opus 5.5 4a2ef23581 test: early-line control runs no tick after the holder starts
The control minted its line before the holder started, then ran one
product tick after the start. When the holder had already reported its
process by that tick, the unbound placement went through the controller,
which re-issued the line for that process, and the control passed. The
control now waits for the early line, checks that it names no process,
and runs no tick after the holder starts (the order the fixture used
before), so the holder refuses the line on every run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 14:31:32 -08:00
pingqiuandClaude Opus 5.5 903626f0e9 Layout move and lease tests mint the first line after the holder reports
A primary line is issued for the process at its endpoints and blockvolume
refuses a line that names no process. For a workspace-bound RF1 volume the
product loop's direct path never re-issues a line whose addresses already
match, so a line minted from a hand-ingested observation before the holder
started was never replaced, loop or not. Both tests now start the holder,
wait until blockmaster observes its slot with its process incarnation, and
only then run the product tick that binds, as production orders it.

SWBLOCK_TEST_EARLY_LINE=1 is the control: the line is minted from a
hand-ingested observation before the holder starts, with no product loop,
as before. Native: lease PASS, control FAIL at "unleased host did not adopt
assignment"; move control FAIL at "source did not serve" with the
empty-process refusal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 13:56:29 -08:00
pingqiuandClaude Opus 5.5 c2ee18cdcc Lease binary test: the same product loop and prebuilt binary
TestBinaryWorkspaceLeaseOptInOwnsCLEANShutdown minted its line from a
hand-ingested observation before the holder started, like the layout move
test, so the holder refused the line that named no process. Both tests now
share runProductLoop (the lifecycle product loop every 100 ms, as
blockmaster runs it) and blockvolumeUnderTest (the gate's prebuilt binary
when SWBLOCK_TEST_BINS is set). The control is now
SWBLOCK_TEST_NO_PRODUCT_LOOP=1, for both tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 13:34:31 -08:00
pingqiuandClaude Opus 5.5 8fb26969d3 Layout move test: run the product loop; use the gate's prebuilt binary
A line is issued for the process at its endpoints, and a holder refuses a
line that names another process. The test minted the initial line from a
hand-ingested observation before the source started, so it named no
process and the source refused it ("issued for process <empty>"; source did
not serve). The test now runs the lifecycle product loop as blockmaster
does, which re-issues a line once the process reports itself (the initial
line, and a move's target). LAYOUT_MOVE_NO_PRODUCT_LOOP=1 leaves the loop
off and reproduces the refusal (the control). With SWBLOCK_TEST_BINS set
(a gate run) the test uses that prebuilt blockvolume instead of building a
race-enabled one, so the binary it runs is the one the gate hashed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 13:28:03 -08:00
pingqiuandClaude Opus 5.5 affc3a34f6 fix(master): hold the automatic path on an ack profile mismatch
The volume answers each promotion probe with its own --replication-ack;
the probe round names every answer whose profile is missing or differs
from blockmaster's (or an unknown master profile), and both gates hold
such a volume before any fencing round (ack_profile_mismatch), as they
hold a best_effort one. One helper (automaticFailoverHold) decides both,
called before the unsupported gate reads its candidates, so a held volume
always shows why. blockmaster refuses an unknown --launcher-replication-ack.
The best_effort product-loop test now expects the hold.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 12:51:25 -08:00
pingqiuandClaude Opus 5.5 d35deb9fb5 fix(blockvolume): ask a revocation ACK again until the lease deadline
An ACK call that got no answer (DeadlineExceeded, Unavailable) is made
again until the lease deadline; the master answers a repeat of a recorded
ACK as recorded, so a busy master no longer turns a clean stop into exit
75. The closeout wait becomes 19 s: the units' TimeoutStopSec=30s less
the 5 s drain, the 5 s exit wait and 1 s margin. blockmaster logs each
AckWorkspaceRevoked step's time (lock, HEAD read, recorded, answered).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 12:25:48 -08:00
pingqiuandClaude Opus 5.5 4992e77bf0 test(blockvolume): a revocation ACK is asked again after a lost answer (red)
A first ACK answered DeadlineExceeded or Unavailable (the master busy)
must be asked again, and the repeat's answer completes the stop with
status 0; a refused first ACK stays final (exit 75). A second test checks
the closeout fits the units' TimeoutStopSec with the drain and the exit
wait.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 12:25:48 -08:00
pingqiuandClaude Opus 5.5 2da008f236 test(master): the automatic path holds on an ack profile mismatch (red)
The gate reads every frontier rule from blockmaster's
--launcher-replication-ack, but a volume runs its own --replication-ack.
Adds the wire field (ProbeAnswer.ack_profile) and the result fields, with
tests: both gates hold, without fencing, when an answer's profile is
missing or differs from the master's, or the master's is unknown; the
probe round names the mismatch; the volume answers its own profile;
blockmaster refuses an unknown --launcher-replication-ack.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 11:27:15 -08:00
pingqiu db01d4fc28 Merge the delete-procedure fixtures (signal stop and dependent snapshots) 2026-11-26 09:07:17 -08:00
pingqiu e2b2c82d1f Merge main (RC ab626792) into the test-only change 2026-11-26 08:50:18 -08:00
pingqiuandClaude Opus 5.5 bac18bf79d Layout lookups wait until blockmaster serves
blockmaster logs "lock acquired" before it imports the cluster spec, which
creates each volume's layout on the filer, and serves only after that. A
harness that looks a volume up right after that line can find it not
serving yet (F1 with ten volumes: DeadlineExceeded waiting for the
connection). layoutID now retries an Unavailable or DeadlineExceeded
answer within 60 s; any other answer still fails at once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 07:41:20 -08:00
pingqiuandClaude Opus 5.5 e647276503 F1 load writers retry a refused command as the Linux NVMe host does
Under F1's load a write can be refused with a retryable status (namespace
not ready, Do Not Retry clear) when local admission waits past its bound;
the command is not acknowledged and the Linux host retries it. The load
writers now do the same through retryLikeHost: only a Do-Not-Retry-clear
status is retried, at most 5 times (nvme_core max_retries), and the round
fails once the retries are used up, as the host returns EIO then. A status
with Do Not Retry set, a transport error or a lost byte still fails at
once. Each round reports busy_refusals and max_consecutive_busy per volume.
F1_NVME_RETRIES=0 turns the retries off. Controls: five refusals then
success pass; six fail; retries off fails on the first refusal; Do Not
Retry set and transport errors fail at once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 07:16:53 -08:00
pingqiu 4f9fc4a511 test: cover dependent snapshots in the volume delete procedure 2026-11-26 06:56:18 -08:00
pingqiu 606da5a1a7 test: delete a signal-stopped sealed volume after its lease horizon 2026-11-26 06:35:31 -08:00
pingqiu c73bedfd37 Merge remote-tracking branch 'origin/main' into test/signal-stop-horizon 2026-11-26 06:34:53 -08:00
Ping Qiu ab6267922d Merge pull request #648 from seaweedfs/fix/ack-budget
volume: the revocation ACK's bound exceeds what the master spends on it
2026-11-26 06:25:25 -08:00
pingqiu de1ca8c235 test(blockvolume): control: weed port pairs never use the ephemeral range
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 496b933f482ce955a863d7aa579e6d1ea45b3d15)
2026-11-26 06:19:00 -08:00
pingqiu cb51f2ebe9 test(blockvolume): weed port pairs avoid the host's ephemeral port range
w4FreePortPair checked a pair free and weed bound it later; a pair inside
ip_local_port_range could be taken in between by any outgoing connection's
source port (seen: a filer's gRPC port 43775 inside a host's 43255-47350,
"bind: address already in use", with extra volumes adding connections).
handoffAddress already stays below that range for the same reason.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit a54fcdde5ea81b1d23396c45ace385038288553a)
2026-11-26 06:19:00 -08:00
Ping Qiu b93c662ec1 Merge pull request #647 from seaweedfs/fix/delete-rerun-missing-roots
chunkstore: a volume-delete re-run completes on a deleted or interrupted volume
2026-11-26 06:18:32 -08:00
pingqiuandClaude Opus 5.5 c8b4754258 fix(volume): the revocation ACK's bound exceeds what the master spends on it
The holder gave its revocation ACK call 2 s and the closeout 3 s, while the
master's handler spends up to 2 s on its bounded HEAD read and then writes
the ACK and reconciles the bindings (about 0.3 s, measured), behind its
workspace lock. A slow but successful ACK could fail at the holder (exit
75), also after the master recorded it.

WorkspaceAckTimeout (5 s, about 2.7 s above the master's measured steps,
stated in its comment) bounds the ACK call, still within the lease
deadline; the post-drain closeout is that plus 1 s. Constants only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 05:45:37 -08:00
pingqiuandClaude Opus 5.5 a6a2d4433c fix(chunkstore): a volume delete re-run completes on a deleted or interrupted volume
BCatalog.DeleteVolume finds the volumes to release by reading every root
the volume's HEAD names (foreignOwners). A deleted HEAD still names its
roots, whose objects the first run deleted, so the documented re-run ("a
re-run on a deleted volume sweeps any object that landed late") failed
with "layout: object missing"; so did the re-run of a delete interrupted
after it began deleting objects.

layout.DeleteVolume deletes a volume's objects only after it released the
volume from every source, so on a deleting or deleted HEAD a root whose
objects are gone has nothing left to release. foreignOwners now skips
exactly that: layout.ErrMissing on a deleting or deleted HEAD. A corrupt
object, an I/O error, and a missing root of a live HEAD stay errors. The
skipped roots are returned, and volume-delete reports them
(already_deleted_roots).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 05:42:55 -08:00
pingqiu f55029d4cb Merge main (with #646) into the start guard: both ledger rows kept 2026-11-26 05:32:36 -08:00
pingqiuandClaude Opus 5.5 c86586a124 Holder snapshot delete retries only a lost HEAD update
A snapshot delete is one conditional update of HEAD, and the holder's
cleaning kicked by the previous delete also updates HEAD; D4's second
delete lost that race once (status 500, "HEAD generation moved"). The
helper retries exactly that answer, within 30 s, as the CLI reports it
retryable; every other answer is returned unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 05:32:14 -08:00
pingqiu 3da208d7d4 test: require successful filer creates for crash receipts
(cherry picked from commit 7b9c7eb68e9273df35665527665ad0edadf4d925)
2026-11-26 05:19:32 -08:00
pingqiu 184f4eacd4 test: preserve the advertised filer identity at crash boundaries
(cherry picked from commit ff6490991ae0dbad1dd285ebac35ea6a49282e0a)
2026-11-26 05:19:31 -08:00
pingqiu 82f6d2f1c8 test: crash snapshots at applied filer boundaries
(cherry picked from commit e864c34bd1fd0f5807f80161fd75f17ae81013e9)
2026-11-26 05:19:31 -08:00
pingqiu d3fddb7533 test: observe layout handoff claims and moved-source refusals 2026-11-26 04:45:30 -08:00
pingqiuandClaude Opus 5.5 29927c478c test(blockmaster): the start refusal runs blockmaster as a bounded child
The refusal test ran run() in a goroutine and could leave it serving on a
hang. It now re-executes the test binary as a helper process under a
10 s context (killed at the deadline and joined; exec closes its pipes).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 04:25:57 -08:00
pingqiuandClaude Opus 5.5 2ba005c464 hydrate reads a block of each chunk the guest has not written
A read fetches its chunk only when the block read is not local; the
helper read each chunk's first block, which the ladder images write, so a
chunk whose first block the guest wrote was never filled (two chunks of
C3-kill stayed absent). It now reads each chunk's last block, which no
ladder image writes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 04:25:14 -08:00
pingqiuandClaude Opus 5.5 48e77c05b8 fix(master): CreateVolume refuses a replicated volume while the product loop is off
Only the lifecycle product loop binds, mints and promotes a replicated
lifecycle volume. With --lifecycle-product-loop-interval at 0 a replicated
create was admitted (its factor matching) and never got a primary.
blockmaster now tells the master whether its loop runs
(Config.LifecycleProductLoop), and CreateVolume refuses RF > 1 while it
does not, naming the flag; RF1 creates are admitted either way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 04:19:30 -08:00