Repository navigation
Conversation
| client_options.append("cluster_for_parallel_replicas='parallel_replicas'") | ||
| client_options.append("parallel_replicas_for_non_replicated_merge_tree=1") | ||
| # Hedged requests are not compatible with parallel replicas and produce a warning on stderr | ||
| client_options.append("use_hedged_requests=0") |
There was a problem hiding this comment.
This is strange. The stress test should test all combinations of settings.
If the problem is only with the health check at the start of the stress test, we should fix this health check.
There was a problem hiding this comment.
We only disable it in the case of enable_parallel_replicas=1 as use_hedged_requests is not compatible with PR
| random_settings["parallel_replicas_local_plan"] = 1 | ||
| random_settings["parallel_replicas_for_non_replicated_merge_tree"] = 1 | ||
| # Hedged requests are not compatible with parallel replicas and produce a warning on stderr | ||
| random_settings["use_hedged_requests"] = 0 |
There was a problem hiding this comment.
We should not inhibit randomization globally. Let's fix the only affected test.
There was a problem hiding this comment.
We do this in adjust_settings_for_autopr function, so it does not inhibit randomisation globally. It only turns off hedged requests with autoPR in stress tests as they are incompatible.
Maybe I do not understand what you mean. In that case, could you please elaborate?
| client_options.append("cluster_for_parallel_replicas='parallel_replicas'") | ||
| client_options.append("parallel_replicas_for_non_replicated_merge_tree=1") | ||
| # Hedged requests are not compatible with parallel replicas and produce a warning on stderr | ||
| client_options.append("use_hedged_requests=0") |
There was a problem hiding this comment.
We only disable it in the case of enable_parallel_replicas=1 as use_hedged_requests is not compatible with PR
| random_settings["parallel_replicas_local_plan"] = 1 | ||
| random_settings["parallel_replicas_for_non_replicated_merge_tree"] = 1 | ||
| # Hedged requests are not compatible with parallel replicas and produce a warning on stderr | ||
| random_settings["use_hedged_requests"] = 0 |
There was a problem hiding this comment.
We do this in adjust_settings_for_autopr function, so it does not inhibit randomisation globally. It only turns off hedged requests with autoPR in stress tests as they are incompatible.
Maybe I do not understand what you mean. In that case, could you please elaborate?
|
While these settings are not compatible, the Stress test should still try random combinations of them to check memory safety and assertions. |
…el replicas When `use_hedged_requests` is combined with `enable_parallel_replicas`, the server gracefully disables hedged requests. There is no need for a `LOG_WARNING` here — it causes stress test failures because the warning is forwarded to the client's stderr and any stderr output makes the test fail. An `INFO` message is sufficient since the situation is handled automatically. This is a better fix than #98519 because it still allows the stress test to exercise the combination of both settings for memory safety and assertion checking. https://s3.amazonaws.com/clickhouse-test-reports/json.html?REF=master&sha=28cd79a24459619126bbecbd3d836afd370b333d&name_0=MasterCI&name_1=Stress%20test%20%28azure%2C%20amd_tsan%29 Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
Maybe this will be ok: #98689 |
|
Solved it #98689 |
When
use_hedged_requests=1is combined with parallel replicas, this triggers aLOG_WARNINGinupdateContextForParallelReplicasand causes red CI. This PR prevents such combination.Changelog category (leave one):