docs: Fix description of shard switching mode #1645

Merged
fyrchik merged 1 commit from achuprov/frostfs-node:bugfix/fix_shard_docs into master 2025-03-21 12:13:04 +00:00

View file

@ -51,10 +51,7 @@ However, all mode changing operations are idempotent.
## Automatic mode changes ## Automatic mode changes
Shard can automatically switch to a `degraded-read-only` mode in 3 cases: A shard can automatically switch to `read-only` mode if its error counter exceeds the threshold.
1. If the metabase was not available or couldn't be opened/initialized during shard startup.
2. If shard error counter exceeds threshold.
3. If the metabase couldn't be reopened during SIGHUP handling.

That's not true for 1.

That's not true for 1.

Ok, only point 2 is left .

Ok, only [point](https://git.frostfs.info/TrueCloudLab/frostfs-node/src/commit/4685afb1dc5737a70833231031582fda29476835/pkg/local_object_storage/engine/engine.go#L158) 2 is left .
# Detach shard # Detach shard