Repository navigation
Downgrade LOG_WARNING to LOG_INFO for use_hedged_requests with parallel replicas - #98689
Merged
Merged
Conversation
…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]>
Contributor
|
Workflow [PR], commit [d883958] Summary: ❌
|
The test was checking for a `Warning` level log with the old message text, but the code now always emits an `Information` level message with unified text. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Algunenano
approved these changes
Mar 4, 2026
Algunenano
left a comment
Member
There was a problem hiding this comment.
LGTM. I also prefer find this simpler to #98519
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
LOG_WARNINGtoLOG_INFOinupdateContextForParallelReplicaswhenuse_hedged_requestsis combined withenable_parallel_replicasuse_hedged_requestswhen parallel replicas are enabled in test randomisers #98519 because it still allows the stress test to exercise the combination of both settings for memory safety and assertion checkingThe
LOG_WARNINGwas forwarded to the client's stderr (since--server-logs-leveldefaults to "warning"), causing test failures withFailureReason.STDERR. AnINFOmessage is sufficient since the situation is automatically resolved.CI report
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
🤖 Generated with Claude Code
Version info
26.3.1.386