Skip to content

Backport #114897 to 26.6: Do not abort the server when a loader worker cannot be spawned - #115203

Merged
clickhouse-gh[bot] merged 2 commits into
26.6from
backport/26.6/114897
Sep 13, 2026
Merged

clickhouse-gh[bot] merged 2 commits into
26.6from
backport/26.6/114897

Conversation

@robot-ch-test-poll4

@robot-ch-test-poll4 robot-ch-test-poll4 commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #114897

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

Version info

  • Merged into: 26.6.6.11

@robot-ch-test-poll4 robot-ch-test-poll4 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default labels Aug 17, 2026
@clickhouse-gh

clickhouse-gh Bot commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [c552175]

Summary: ✅

In this branch `ProfileEvents::Counter` derives from
`std::atomic<Count>`, so the conditional operator has two viable
conversions between its arms and the unit-test build failed:

  error: conditional expression is ambiguous; 'int' can be converted to 'Counter' and vice versa

On master the counter cells are plain `Count` accessed through
`std::atomic_ref`, which is why the same expression compiles there.
Return early and `load` the counter instead, so no conversion is
needed either way.
@clickhouse-gh
clickhouse-gh Bot merged commit 29334f5 into 26.6 Sep 13, 2026
38 of 39 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.6/114897 branch September 13, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants