Skip to content

Backport #127611 to 26.8: Reuse RabbitMQ producer connections and channels across INSERT queries - #134083

Merged
clickhouse-gh[bot] merged 2 commits into
26.8from
backport/26.8/127611
Nov 24, 2026
Merged

clickhouse-gh[bot] merged 2 commits into
26.8from
backport/26.8/127611

Conversation

@robot-ch-test-poll3

@robot-ch-test-poll3 robot-ch-test-poll3 commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #127611
Cherry-pick pull-request #134078

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

@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-backport Changes, backported to release branch. Do not use manually - automated use only! label Nov 24, 2026
@clickhouse-gh

clickhouse-gh Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [0066787]

Summary: ✅

The backport of #127611 moved the publisher confirms state (`delivery_record`,
`returned`, `removeRecord`) from `RabbitMQProducer` to `RabbitMQPublisher`.
The unit test from the backport of #131731 still constructed
`RabbitMQProducer` and used these members, so `unit_tests_dbms` did not
compile in the debug, sanitizer and `arm_darwin` builds.

Test `RabbitMQPublisher` directly, as on master after #131731: the test is
`RabbitMQPublisherTest` in `gtest_rabbitmq_publisher.cpp`, and the `friend`
declaration moves from `RabbitMQProducer` to `RabbitMQPublisher`. The test
cases do not change.

#134083
@clickhouse-gh
clickhouse-gh Bot merged commit 1b7ba55 into 26.8 Nov 24, 2026
44 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.8/127611 branch November 24, 2026 18:34
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!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants