Skip to content

Backport #119238 to 26.7: Don't use backoffs on concurrent inserts conflicts - #119418

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

clickhouse-gh[bot] merged 2 commits into
26.7from
backport/26.7/119238

Conversation

@robot-clickhouse-ci-2

@robot-clickhouse-ci-2 robot-clickhouse-ci-2 commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #119238

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.7.8.6

@robot-clickhouse-ci-2 robot-clickhouse-ci-2 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 Sep 11, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [8aab219]

Summary: ✅

@clickhouse-gh clickhouse-gh Bot added the external Author is not a member of the ClickHouse organization label Sep 11, 2026
@maxknv maxknv removed the external Author is not a member of the ClickHouse organization label Sep 11, 2026
`test_catalog_commit_conflict_reaches_caller_at_once` counts the
`RestCatalog` log line `updateMetadata conflict` to see that a
refused commit was handed back to the sink at once. That line was
added by the Snowflake Horizon REST catalog work (`344e80f34b9c`),
which is on 26.8 and master only. In this branch
`RestCatalog::updateMetadata` swallows every `HTTPException` with
`LOG_TRACE(log, "Unsucceeded request {}", ...)` instead, so the
count is always zero and the test fails its own premise:

  AssertionError: no writer was refused, so nothing about conflict handling was exercised

Rewording the pattern would only pin this branch's unrelated logging,
so the test is dropped here. The change itself - `409 Conflict` is
not retriable - stays covered by
`05055_http_conflict_is_not_retried`, which asserts that a `409`
reaches the caller after exactly one request.
@clickhouse-gh
clickhouse-gh Bot merged commit 24e6d07 into 26.7 Sep 13, 2026
38 of 39 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.7/119238 branch September 13, 2026 20:58
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.

6 participants