mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
cmd/blockmaster/main.go hardcoded ExpectedSlotsPerVolume: 3 in the TopologyControllerConfig. The TopologyController's validateVolumeTopology rejects every observation snapshot whose slot count differs from this value, returning an error from SubmitObservedState that propagates back to the observation host without a master-log line. Result with a 2-node smoke topology (m01-primary + m02-replica): master is silent, no assignments minted, volumes timeout at durable open with frontend.ErrNotReady — the symptom QA hit during G5-4 cross-node bring-up. Fix: add --expected-slots-per-volume CLI flag, default 3 (production RF=3 unchanged). 2-node smoke clusters pass --expected-slots-per-volume 2. Long-term refactor (separate ticket): the validator should compare snapshot slot count against the topology's per-volume slot count, not a single global config — that's the real per-volume RF model. Refs: sw-block/design/v3-phase-15-g5-m0102-bringup-answer.md Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>