Repository navigation
Backport #125514 to 26.8: Make the progress indicator frame per-instance in ProgressIndication - #128152
Merged
Conversation
`ProgressIndication::writeProgress` kept the frame of the spinning indicator in a function-local `static`, which is shared by all clients in the process. Concurrent sessions of the web terminal (embedded clients) increment it from several threads, which TSan reports as a data race. It fails every `Stress test (amd_tsan)` run since `05445_webterminal_concurrent_sessions_input` came with the backport of #125510. Backport of 3329e92 from #125514 (only this commit; the rest of the PR is a feature). https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=26.10&sha=da23b6505a74b35f9ef57cb2a3a26665db3fd763&name_0=ReleaseBranchCI #125514 (cherry picked from commit 3329e92) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
Workflow [BackportPR], commit [2baeeb6] Summary: ❌
|
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.
Backport of the
ProgressIndicationfix from #125514 (commit 3329e92 only; the rest of that PR is a web terminal feature).ProgressIndication::writeProgresskept the frame of the spinning indicator in a function-localstatic, shared by all clients in the process. Concurrent web terminal sessions (embedded clients) increment it from several threads, which TSan reports as a data race (ProgressIndication.cpp:166, STID3653-4074). Since05445_webterminal_concurrent_sessions_inputcame with the backport of #125510 on 2026-10-27, it fails everyStress test (amd_tsan)run on the release branches. The frame is now a per-instance member.CI report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=26.10&sha=da23b6505a74b35f9ef57cb2a3a26665db3fd763&name_0=ReleaseBranchCI
Related: #125514
Related: #125510
Changelog category (leave one):
🤖 Generated with Claude Code
Version info
26.8.35.26