seaweed-block: README: blockmaster is one instance; the filer only in the checkpointed mode

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
pingqiuandClaude Opus 5.5 committed 2026-12-05 22:18:06 -08:00
1 parent 083458fef7
commit d8b8ddf7db
1 file changed
+5 -3
+5 -3
View File
@@ -73,14 +73,16 @@ agents that stop, resume and move between hosts; and Kubernetes block volumes th
| Process | What it does | Where it runs | Talks to |
|---|---|---|---|
| `blockmaster` | The control plane: epochs, leases, placement and failover. Keeps its authority and lifecycle records in local files. | One per cluster, on any host. Put its state directory on its own filesystem. | `blockvolume` (heartbeats, leases, assignments), `sw-block` (control API), the SeaweedFS filer (HEAD records, checkpointed mode) |
| `blockmaster` | The control plane: epochs, leases, placement and failover. A single instance per cluster in v1.1.x, with no high availability; its authority and lifecycle records are local files. | One host. Put its state directory on its own filesystem. | `blockvolume` (heartbeats, leases, assignments), `sw-block` (control API), and in the checkpointed mode the SeaweedFS filer (HEAD records). There it needs a reachable filer to start. |
| `blockvolume` (the holder) | Serves one volume to its guest over NVMe/TCP or iSCSI, from a write-ahead log and extent. In the checkpointed mode it checkpoints to SeaweedFS; in the replicated mode it sends writes to, or receives them from, the other replicas. | On the host where the guest runs: one process per volume (and per replica). | Its guest, `blockmaster`, SeaweedFS (checkpointed mode), the other replicas (replicated mode) |
| SeaweedFS: `weed master`, `weed volume`, `weed filer` | Holds the checkpointed chunks and the HEAD records. | Your SeaweedFS cluster. | `blockvolume`, `blockmaster` and `sw-block` reach it over the network |
| `sw-block` | The operator CLI: start and stop volumes, checkpoints, snapshots, restore, moves, checks. | Wherever the operator works. | `blockmaster`, each holder's status endpoint, the SeaweedFS filer |
What each mode needs:
- **Checkpointed:** `blockmaster`, one `blockvolume` per volume, and SeaweedFS.
- **Replicated:** `blockmaster` and one `blockvolume` per replica, each on its own host. SeaweedFS is not used.
- **Checkpointed:** `blockmaster` (with `--workspace-rpc`), one `blockvolume` per volume, and SeaweedFS.
`blockmaster` contacts the filer only in this mode, and does not start until the filer answers.
- **Replicated:** `blockmaster` and one `blockvolume` per replica, each on its own host. SeaweedFS is not used:
`blockmaster` runs without `--workspace-rpc` and opens no filer connection.
In a standalone setup the guest runs on the holder's host: remote guests are not supported in v1.1.x. The Kubernetes
CSI driver (alpha) attaches a volume to a pod on another node.