mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
Merge pull request #695 from seaweedfs/docs/v100-unref-roots
docs: v1.0.0 known limit: unnamed roots and segments kept until delete
This commit is contained in:
commit
d78dce3ca4
1 file changed
+7
-3
@@ -5,7 +5,8 @@ backed up to SeaweedFS with snapshots, restore, moves and volume delete. Replica
|
||||
[replicated volumes in v1.0: a preview](replicated-volumes-preview.md).
|
||||
|
||||
With the default settings, the loss of a whole host can lose up to one day of acknowledged writes (the last daily
|
||||
snapshot); to shorten that, enable periodic cuts with `--chunk-capture-interval` (at least 5 minutes).
|
||||
snapshot); to shorten that, enable periodic cuts with `--chunk-capture-interval` (at least 5 minutes). Each cut keeps
|
||||
some metadata until the volume is deleted: see Known limits.
|
||||
|
||||
## Kubernetes
|
||||
Kubernetes is an alpha in v1.0.0, for supported lab clusters, not production: PVC provisioning and the Helm install
|
||||
@@ -36,7 +37,7 @@ defaults, so a pod whose holder does not come back holds I/O for about 600 s whe
|
||||
from its last cut, the last point published to SeaweedFS. By default there is no periodic capture and one scheduled
|
||||
snapshot a day (`--chunk-snapshot-schedule=daily:7`), so with defaults a host loss can lose up to a day of
|
||||
acknowledged writes. For a newer recovery point, set `--chunk-capture-interval` (at least 5 minutes) or take a
|
||||
snapshot before risky work.
|
||||
snapshot before risky work. Each cut keeps some metadata until the volume is deleted (see Known limits).
|
||||
- Every read from the SeaweedFS store is checked against the chunk's content hash (guest reads, the first read of a
|
||||
restored volume's chunk, and restores); a damaged object is refused with a typed error, never served or installed.
|
||||
- Extents are flushed only up to the acknowledged log position.
|
||||
@@ -75,7 +76,7 @@ defaults, so a pod whose holder does not come back holds I/O for about 600 s whe
|
||||
- The 256 GiB limit assumes a filer lookup round trip under about 1 ms (measured with the filer on the volume's
|
||||
host): 65,536 lookups at 32 in flight fit in 2 s only below about 0.98 ms each, so a filer one network hop away is
|
||||
at that edge. With a remote filer, use smaller volumes, or periodic cuts (`--chunk-capture-interval`) so that each
|
||||
commit names fewer chunks.
|
||||
commit names fewer chunks; each cut keeps some metadata until the volume is deleted (see Known limits).
|
||||
- Keep free capacity in SeaweedFS: while it is full, snapshots, cuts and the final cut of a stop or move fail with
|
||||
a retryable error; guest writes continue and are kept; free space, then retry.
|
||||
- Deleting a restore target: its first cut compares every restored chunk locally (about 1.4 GiB/s measured). The
|
||||
@@ -115,6 +116,9 @@ defaults, so a pod whose holder does not come back holds I/O for about 600 s whe
|
||||
completes. Retry with the same request id; there is no bypass.
|
||||
|
||||
## Known limits
|
||||
- Snapshot and cut roots and segments that no snapshot names are reclaimed only when the volume is deleted: at most
|
||||
a few MB a day at the defaults; with `--chunk-capture-interval` each cut adds up to about (changed shards x 13 KB +
|
||||
75 B); plan space for it; a fix is planned for a later release.
|
||||
- sw-block does not authenticate to SeaweedFS: the filer is reached over gRPC without TLS and the volume servers over
|
||||
plain HTTP, with no SeaweedFS credentials of its own (it only passes on the write token the filer returns with each
|
||||
assignment, when SeaweedFS signs them). Run SeaweedFS on a trusted network; mTLS covers the blockmaster control API
|
||||
|
||||
Reference in new issue
Block a user