This is an automated email from the ASF dual-hosted git repository.

marcuse pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 5c433e80 Avoid placing the CMS on the node we're wiping
5c433e80 is described below

commit 5c433e803287b6a816760add5959c8a991fceacb
Author: Marcus Eriksson <marc...@apple.com>
AuthorDate: Wed Sep 25 16:40:55 2024 +0200

    Avoid placing the CMS on the node we're wiping
    
    Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-19943
---
 bootstrap_test.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bootstrap_test.py b/bootstrap_test.py
index ec01b892..4c09f0b7 100644
--- a/bootstrap_test.py
+++ b/bootstrap_test.py
@@ -649,7 +649,8 @@ class BootstrapTester(Tester):
 
         # Add a new node, bootstrap=True ensures that it is not a seed
         node4 = new_node(cluster, bootstrap=True)
-        node4.start(wait_for_binary_proto=True)
+        # we skip reconfiguration after this bootstrap since with vnodes node4 
might end up taking over the CMS, and then get wiped below
+        node4.start(wait_for_binary_proto=True, 
jvm_args=["-Dcassandra.test.skip_cms_reconfig_after_topology_change=true"])
 
         session = self.patient_cql_connection(node4)
         assert original_rows == list(session.execute(query))


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to