From 99d8a2d62110a12b310ae7e42e5af5362b0a222f Mon Sep 17 00:00:00 2001
From: Vincent SELLIER <vincent.sellier@softwareheritage.org>
Date: Tue, 29 Aug 2023 18:59:58 +0200
Subject: [PATCH] cassandra: fix the repair command to execute during
 authentication activation

Related to swh/infra/sysadm-environment#4824
---
 docs/sysadm/data-silos/cassandra/installation.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/sysadm/data-silos/cassandra/installation.rst b/docs/sysadm/data-silos/cassandra/installation.rst
index edd28a5c..9a2b9da4 100644
--- a/docs/sysadm/data-silos/cassandra/installation.rst
+++ b/docs/sysadm/data-silos/cassandra/installation.rst
@@ -98,7 +98,7 @@ data volume, with a Replication factor (RF) of 3. Adapt according to your own ne
 
   export PASS=<your jmx password>
   ALTER KEYSPACE system_auth WITH replication = {'class': 'NetworkTopologyStrategy', 'sesi_rocquencourt_staging': 3};
-  seq 1 3 | xargs -t -i{} /opt/cassandra/bin/nodetool -h cassandra{} -u cassandra --password $PASS repair -j4 system_auth
+  seq 1 3 | xargs -t -i{} /opt/cassandra/bin/nodetool -h cassandra{} -u cassandra --password $PASS repair --full -j4 system_auth
 
 
 3. Create a new `admin` superuser
-- 
GitLab