Skip to content

Backport #125514 to 26.10: Make the progress indicator frame per-instance in ProgressIndication - #128154

Merged
clickhouse-gh[bot] merged 1 commit into
26.10from
backport/26.10/125514-progress-indicator-frame
Oct 29, 2026
Merged

clickhouse-gh[bot] merged 1 commit into
26.10from
backport/26.10/125514-progress-indicator-frame

Conversation

@PedroTadim

@PedroTadim PedroTadim commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Backport of the ProgressIndication fix from #125514 (commit 3329e92 only; the rest of that PR is a web terminal feature).

ProgressIndication::writeProgress kept the frame of the spinning indicator in a function-local static, 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, STID 3653-4074). Since 05445_webterminal_concurrent_sessions_input came with the backport of #125510 on 2026-10-27, it fails every Stress 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):

  • CI Fix or Improvement (changelog entry is not required)

🤖 Generated with Claude Code

Version info

  • Merged into: 26.10.3.22

`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]>
@clickhouse-gh

clickhouse-gh Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [383a40c]

Summary: ✅

@clickhouse-gh clickhouse-gh Bot added the comp-cli clickhouse-client (interactive CLI) and client library. label Oct 29, 2026
@clickhouse-gh
clickhouse-gh Bot merged commit e9c0c5c into 26.10 Oct 29, 2026
47 of 48 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.10/125514-progress-indicator-frame branch October 29, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-cli clickhouse-client (interactive CLI) and client library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants