Skip to content

Bump mongo-c-driver from 2.5.6 to 2.5.7 - #128309

Merged
thevar1able merged 2 commits into
ClickHouse:masterfrom
actueleai:bump-mongo-c-driver-2.5.7
Nov 2, 2026
Merged

thevar1able merged 2 commits into
ClickHouse:masterfrom
actueleai:bump-mongo-c-driver-2.5.7

Conversation

@actueleai

@actueleai actueleai commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Bump mongo-c-driver from 2.5.6 to 2.5.7.

CVEs

  • CVE-2026-114645, fixed in 2.5.7 — does not apply: Windows-only SSPI code, not compiled.

ClickHouse-side changes

  • contrib/mongo-c-driver-cmake/CMakeLists.txt — libbson/libmongoc version variables and strings moved to 2.5.7.

Fork

Carries the 5 ClickHouse patches (ClickHouse/mongo-c-driver#20).

Changelog category (leave one):

  • Build/Testing/Packaging Improvement

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Update mongo-c-driver from 2.5.6 to 2.5.7.


Workflow [PR]
Sync PR [sync-upstream/pr/128309]

Version info

  • Merged into: 26.11.1.1112-master (included in 26.11 and later)

Upstream 2.5.7 fixes an unsafe cast of the username length in the
Windows-only SSPI/Kerberos authentication code (CVE-2026-114645) and
fixes the container client metadata sent in the handshake.

The ClickHouse fork branch `ClickHouse/2.5.7` carries the same patch
series as before: `strerror_l` for musl/FreeBSD, `mlib_have_posix_clocks`
detection on Darwin/FreeBSD/musl, reply memory leak on retryable cursor
server-selection failure, a redundant store in `_mongoc_handshake_freeze`,
and not printing option values in the deprecated-option conflict error.

No upstream source files were added or removed in this release, so only
the version variables in `contrib/mongo-c-driver-cmake/CMakeLists.txt`
needed updating.

Co-Authored-By: Claude Code <[email protected]>
@thevar1able thevar1able added the can be tested Allows running workflows for external contributors label Oct 30, 2026
@clickhouse-gh

clickhouse-gh Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [7eb6738]

Summary: ✅


AI Review

Summary

Updates mongo-c-driver from 2.5.6 to 2.5.7 and synchronizes the CMake version declarations. No actionable findings in the current diff or bundled driver changes; the five existing ClickHouse patches are preserved.

Missing context / blind spots
  • ⚠️ Current-head CI is still running. No local builds or tests were run. The earlier revision passed all 61 MongoDB integration tests under TSan, including handshake metadata, TLS, dictionaries, and cancellation; completion of the current run closes the remaining validation gap.
  • ⚠️ The earlier ARM performance report flagged prewhere_subcolumns #1 at +30.4%. Its unpinned fixture matches the documented merge race corrected by the fixture fix, which is present in the current checkout. Confirm the pending rerun clears this result; attribution to the driver update is not established.
Final Verdict

Status: ✅ Approve — no code changes requested. Current CI must complete before merging.

@clickhouse-gh clickhouse-gh Bot added pr-build Pull request with build/testing/packaging improvement submodule changed At least one submodule changed in this PR. comp-external-dependencies Third-party deps updates in contrib/, vendored code, and platform base libraries. labels Oct 30, 2026
@clickhouse-gh

clickhouse-gh Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing 7eb673886 with master 0ea6ec133 (stripped binary size, per-symbol sizes and ThinLTO time; compile times per translation unit against the most recent warmup build that recompiled it).

✅ No significant changes.

Binary sizes

programs/clickhouse-stripped: smaller than the master baseline by the known offset between the two builds, so the difference is not shown. A delta that differs from the offset by more than 50% of it is shown, in either direction.

The official master build is compiled with -g and a pull request build is not, and XRay counts debug instructions towards its instrumentation threshold, so master instruments thousands of functions more and its binary is ~0.4% larger no matter what the pull request does.

Compile time of recompiled translation units

9 translation units recompiled, 4 s compile time in total, 9 of them have a recent master baseline.

Job report

@clickhouse-gh clickhouse-gh Bot added the manual approve Manual approve required to run CI label Nov 2, 2026
@thevar1able
thevar1able added this pull request to the merge queue Nov 2, 2026
Merged via the queue into ClickHouse:master with commit f27411a Nov 2, 2026
179 checks passed
@thevar1able
thevar1able deleted the bump-mongo-c-driver-2.5.7 branch November 2, 2026 17:03
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-synced-to-cloud The PR is synced to the cloud repo label Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors comp-external-dependencies Third-party deps updates in contrib/, vendored code, and platform base libraries. manual approve Manual approve required to run CI pr-build Pull request with build/testing/packaging improvement pr-synced-to-cloud The PR is synced to the cloud repo submodule changed At least one submodule changed in this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants