You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by al...@apache.org on 2019/06/21 11:56:20 UTC
[cassandra-dtest] 01/01: Fix largecolumn_test.py
This is an automated email from the ASF dual-hosted git repository.
aleksey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git
commit d73c9f3a8110255630da60cedfbf1c35109d1ee1
Author: Aleksey Yeschenko <al...@apple.com>
AuthorDate: Fri Jun 21 12:51:13 2019 +0100
Fix largecolumn_test.py
---
largecolumn_test.py | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/largecolumn_test.py b/largecolumn_test.py
index 97bb013..e7e5807 100644
--- a/largecolumn_test.py
+++ b/largecolumn_test.py
@@ -45,9 +45,11 @@ class TestLargeColumn(Tester):
cluster = self.cluster
# Commit log segment size needs to increase for the database to be willing to accept columns that large
# internode compression is disabled because the regression being tested occurs in NIO buffer pooling without compression
- cluster.set_configuration_options({'commitlog_segment_size_in_mb': 128,
- 'internode_compression': 'none',
- 'internode_max_message_size_in_bytes': 128 * 1024 * 1024})
+ configuration = {'commitlog_segment_size_in_mb': 128, 'internode_compression': 'none'}
+ if cluster.version() >= '4.0':
+ configuration['internode_max_message_size_in_bytes'] = 128 * 1024 * 1024
+ cluster.set_configuration_options(configuration)
+
# Have Netty allocate memory on heap so it is clear if memory used for large columns is related to intracluster messaging
cluster.populate(2).start(jvm_args=[" -Dcassandra.netty_use_heap_allocator=true "])
node1, node2 = cluster.nodelist()
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org