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

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

commit a9d15fdbae3048cf035ee6d6ac205fe1673b10b3
Author: Sam Tunnicliffe <[email protected]>
AuthorDate: Wed Nov 1 09:56:49 2023 +0000

    [CEP-21] Don't wipe cluster metadata on only CMS member
---
 materialized_views_test.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/materialized_views_test.py b/materialized_views_test.py
index 4f0d6001..89cba3f6 100644
--- a/materialized_views_test.py
+++ b/materialized_views_test.py
@@ -2038,7 +2038,8 @@ class TestMaterializedViews(Tester):
         logger.debug('Shutdown node1')
         node1.stop(wait_other_notice=True)
         logger.debug('Delete node1 data')
-        node1.clear(clear_all=True)
+        clear_data_only = True if self.cluster.version() >= 
LooseVersion('5.1') else False
+        node1.clear(clear_all=True, only_data=clear_data_only)
 
         jvm_args = []
         if fail_mv_lock:


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to