From 8f070d809591e3f626fece8221534cb79acc044c Mon Sep 17 00:00:00 2001 From: Alexander Chuprov Date: Wed, 12 Feb 2025 19:38:55 +0300 Subject: [PATCH] [#1294] docs: Fix description of shard switching mode Signed-off-by: Alexander Chuprov --- docs/shard-modes.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/shard-modes.md b/docs/shard-modes.md index 3b459335b..3ef7f2da1 100644 --- a/docs/shard-modes.md +++ b/docs/shard-modes.md @@ -51,11 +51,13 @@ However, all mode changing operations are idempotent. ## Automatic mode changes -Shard can automatically switch to a `degraded-read-only` mode in 3 cases: +Shard can automatically switch to a `read-only` mode in 3 cases: 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. +If switching to `read-only` is impossible, the shard will switch to `degraded-read-only`. + # Detach shard To detach a shard use `frostfs-cli control shards detach` command. This command removes the shards from the storage