This is an automated email from the ASF dual-hosted git repository. netudima pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git
commit e97c9795f5ed568a13485e03efed266837225a77 Author: Dmitry Konstantinov <[email protected]> AuthorDate: Tue Nov 3 22:56:15 2026 +0000 Fix native_transport_timeout version check in cql_tracing_test The check compared versions as strings, so '4.1.13' >= '4.1.6' was False for every version from 4.1.10 up. In this case native_transport_timeout was not set, and its 12s default limited the 30s read and write timeouts to 12s. CL ALL queries timed out when one replica was slow. patch by Dmitry Konstantinov; reviewed by Francisco Guerrero for CASSANDRA-21846 --- cql_tracing_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cql_tracing_test.py b/cql_tracing_test.py index 72d53dea..e22ccf7b 100644 --- a/cql_tracing_test.py +++ b/cql_tracing_test.py @@ -27,7 +27,7 @@ class TestCqlTracing(Tester): cluster = self.cluster opts = {'write_request_timeout_in_ms': 30000, 'read_request_timeout_in_ms': 30000} - if str(cluster.cassandra_version()) >= '4.1.6' and not str(cluster.cassandra_version()).startswith(('5.0-alpha', '5.0-beta')): + if cluster.cassandra_version() >= LooseVersion('4.1.6') and not str(cluster.cassandra_version()).startswith(('5.0-alpha', '5.0-beta')): opts['native_transport_timeout'] = '30s' cluster.set_configuration_options(values=opts); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
