From 20b4447df77d03d8468442febdee24632013d3b6 Mon Sep 17 00:00:00 2001 From: Dmitrii Stepanov Date: Tue, 30 Jan 2024 18:32:55 +0300 Subject: [PATCH] [#917] docs: Extend shard mode description Add shards detach details. Signed-off-by: Dmitrii Stepanov --- docs/shard-modes.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/shard-modes.md b/docs/shard-modes.md index 7fca33d09..3abc26a60 100644 --- a/docs/shard-modes.md +++ b/docs/shard-modes.md @@ -46,3 +46,9 @@ Shard can automatically switch to a `degraded-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. + +# Detach shard + +To detach a shard use `frostfs-cli control shards detach` command. This command removes the shards from the storage +engine and closes all resources associated with the shards. +Limitation: `SIGHUP` or storage node restart lead to detached shard will be again online. \ No newline at end of file