You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by br...@apache.org on 2020/11/17 23:33:27 UTC
[cassandra-dtest] branch trunk updated: Explicitly define
num_tokens=1 when not using vnodes
This is an automated email from the ASF dual-hosted git repository.
brandonwilliams 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 845a82a Explicitly define num_tokens=1 when not using vnodes
845a82a is described below
commit 845a82a38d3c4bb6d14c0bdb3341bfdc36ebbb02
Author: Brandon Williams <br...@apache.org>
AuthorDate: Tue Nov 17 17:33:13 2020 -0600
Explicitly define num_tokens=1 when not using vnodes
---
dtest_setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dtest_setup.py b/dtest_setup.py
index 8cae7d1..23d7531 100644
--- a/dtest_setup.py
+++ b/dtest_setup.py
@@ -423,7 +423,7 @@ class DTestSetup(object):
self.cluster.set_configuration_options(
values={'initial_token': None, 'num_tokens': self.dtest_config.num_tokens})
else:
- self.cluster.set_configuration_options(values={'num_tokens': None})
+ self.cluster.set_configuration_options(values={'num_tokens': 1})
if self.dtest_config.use_off_heap_memtables:
self.cluster.set_configuration_options(values={'memtable_allocation_type': 'offheap_objects'})
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org