From 2def5a2c942a40fd23f9f03626b82237e4606307 Mon Sep 17 00:00:00 2001 From: Boris Korjov <36773304+bkdocker@users.noreply.github.com> Date: Mon, 12 Nov 2018 13:31:12 -0500 Subject: [PATCH] removed --emergency-repair flag reconfigure-db command needs to be run without the --emergency-repair flag, because you should only use that when a table has lost a majority of replicas. Please refer to https://github.com/docker/escalation/issues/943 --- .../monitor-and-troubleshoot/troubleshoot-configurations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datacenter/ucp/2.2/guides/admin/monitor-and-troubleshoot/troubleshoot-configurations.md b/datacenter/ucp/2.2/guides/admin/monitor-and-troubleshoot/troubleshoot-configurations.md index 7cbd05d5e6..1d38b6be66 100644 --- a/datacenter/ucp/2.2/guides/admin/monitor-and-troubleshoot/troubleshoot-configurations.md +++ b/datacenter/ucp/2.2/guides/admin/monitor-and-troubleshoot/troubleshoot-configurations.md @@ -132,7 +132,7 @@ NUM_MANAGERS=$(docker node ls --filter role=manager -q | wc -l) VERSION=$(docker image ls --format '{{.Tag}}' docker/ucp-auth | head -n 1) # This reconfigure-db command will repair the RethinkDB cluster to have a # number of replicas equal to the number of manager nodes in the cluster. -docker container run --rm -v ucp-auth-store-certs:/tls docker/ucp-auth:${VERSION} --db-addr=${NODE_ADDRESS}:12383 --debug reconfigure-db --num-replicas ${NUM_MANAGERS} --emergency-repair +docker container run --rm -v ucp-auth-store-certs:/tls docker/ucp-auth:${VERSION} --db-addr=${NODE_ADDRESS}:12383 --debug reconfigure-db --num-replicas ${NUM_MANAGERS} time="2017-07-14T20:46:09Z" level=debug msg="Connecting to db ..." time="2017-07-14T20:46:09Z" level=debug msg="connecting to DB Addrs: [192.168.1.25:12383]"