diff --git a/docs/cluster_mode.html b/docs/cluster_mode.html index 961f98b..06c47e1 100644 --- a/docs/cluster_mode.html +++ b/docs/cluster_mode.html @@ -185,6 +185,17 @@

Remove a server from a cluster

+

If one of the servers in a cluster goes down due to a hardware failure and raft logs and metadata is lost, that server cannot join the cluster again.
+If you want the server to join the cluster again, you must remove it from the cluster.
+The following command deletes the server with id=3 from the cluster:

+
./bin/bayard leave \
+    --host=127.0.0.1 \
+    --port=5001 \
+    --id=3 \
+    --peers="1=0.0.0.0:5001,2=0.0.0.0:5002" \
+    --leader-id=1
+
diff --git a/docs/print.html b/docs/print.html index 0925776..bcceb1e 100644 --- a/docs/print.html +++ b/docs/print.html @@ -354,6 +354,17 @@

Remove a server from a cluster

+

If one of the servers in a cluster goes down due to a hardware failure and raft logs and metadata is lost, that server cannot join the cluster again.
+If you want the server to join the cluster again, you must remove it from the cluster.
+The following command deletes the server with id=3 from the cluster:

+
./bin/bayard leave \
+    --host=127.0.0.1 \
+    --port=5001 \
+    --id=3 \
+    --peers="1=0.0.0.0:5001,2=0.0.0.0:5002" \
+    --leader-id=1
+

Running on Docker

Docker container image is available. Check the available version at the following URL: