From 146ed08052e139bb6cde0c4d36c448fdf24acb44 Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Mon, 5 Mar 2018 10:54:45 -0800 Subject: [PATCH] Documentation/op-guide: highlight defrag operation "--endpoints" flag Signed-off-by: Gyuho Lee --- Documentation/op-guide/maintenance.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/op-guide/maintenance.md b/Documentation/op-guide/maintenance.md index 1b485f4be..85a822ef9 100644 --- a/Documentation/op-guide/maintenance.md +++ b/Documentation/op-guide/maintenance.md @@ -47,7 +47,9 @@ $ etcdctl defrag Finished defragmenting etcd member[127.0.0.1:2379] ``` -Note that defragmentation to a live member blocks the system from reading and writing data while rebuilding its states. +**Note that defragmentation to a live member blocks the system from reading and writing data while rebuilding its states**. + +**Note that defragmentation request does not get replicated over cluster. That is, the request is only applied to the local node. Specify all members in `--endpoints` flag.** To defragment an etcd data directory directly, while etcd is not running, use the command: