Skip to content

Commit

Permalink
largecolumn_test.py - configure native_transport_max_request_data_in_…
Browse files Browse the repository at this point in the history
…flight and native_transport_max_request_data_in_flight_per_ip for 4.1 and later

Patch by Dmitry Konstantinov; reviewed by brandonwilliams and
smiklosovic for CASSANDRA-19702
  • Loading branch information
netudima authored and driftx committed Oct 4, 2024
1 parent a421457 commit e19d27e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions largecolumn_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ def test_cleanup(self):
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
if cluster.version() >= '4.1':
configuration['native_transport_max_request_data_in_flight'] = '64MiB'
configuration['native_transport_max_request_data_in_flight_per_ip'] = '64MiB'
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
Expand Down

0 comments on commit e19d27e

Please sign in to comment.