Repository navigation
Bump mongo-cxx-driver from r4.6.0 to r4.6.2 - #130444
Conversation
Moves the pin to the ClickHouse fork head `ClickHouse/r4.6.2` (35424a5cc597), which is upstream r4.6.2 plus the single libc++ oidc include fix (src/mongocxx/lib/mongocxx/v1/oidc_callback.hh, +3 lines). The fork URL in `.gitmodules` is unchanged. Notable upstream changes: - r4.6.1 rejects embedded NUL characters in `distinct` field names (CVE-2026-106430). ClickHouse never calls `distinct`, so the path is unreachable from ClickHouse, and the fix is included regardless. - r4.6.2 fixes unconditionally dangling references returned by the `get_<type>` accessors of `bsoncxx::v_noabi::types::bson_value::value` (return type changed from `T const&` to `T`), and stops converting empty string-like BSON type values into null strings in the `v_noabi` API. - Minimum mongo-c-driver raised from 2.5.3 to 2.5.8. The current pin (2.5.8-6-g58b4e1f39) already satisfies it, so no co-bump is needed. ClickHouse reads BSON through `bson_value::view`, whose accessors are unchanged, so no source changes were required. No source files were added or removed between the two tags, so `BSONCXX_SOURCES` and `MONGOCXX_SOURCES` in `contrib/mongo-cxx-driver-cmake/CMakeLists.txt` are unchanged. Verified by building `_bsoncxx`, `_mongocxx` and `clickhouse` in `build/Release-master` (all four consumer TUs recompiled). Co-Authored-By: Claude Code <[email protected]>
|
Workflow [PR], commit [1e18e9a] Summary: ✅
AI ReviewSummaryPR #130444, head Consumers checked for the BSON accessor and empty-string representation changes: Missing context / blind spots
Final VerdictStatus: ✅ Approve. No code changes or inline review comments requested. |
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Slowest function optimization changes (ThinLTO)Median per-function time ratio to the master baseline:
Compile time of recompiled translation units76 translation units recompiled, 120 s compile time in total, 76 of them have a recent master baseline. Median compile-time ratio to the baselines is ×0.94 (machine-speed difference or a change affecting every TU); per-TU deltas below are relative to that ratio. |
Backport #130444 to 26.10: Bump `mongo-cxx-driver` from r4.6.0 to r4.6.2
Backport #130444 to 26.9: Bump `mongo-cxx-driver` from r4.6.0 to r4.6.2
Backport #130444 to 26.3: Bump `mongo-cxx-driver` from r4.6.0 to r4.6.2
Backport #130444 to 26.8: Bump `mongo-cxx-driver` from r4.6.0 to r4.6.2
Bumps
mongo-cxx-driverfrom r4.6.0 to r4.6.2, which needs the mongo-c-driver 2.5.8 already on master.Fork
ClickHouse/r4.6.2carries the one ClickHouse patch (complete oidc types for libc++std::function), Carry the ClickHouse patches from r4.6.0 onto r4.6.2 mongo-cxx-driver#7.Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Update
mongo-cxx-driverfrom r4.6.0 to r4.6.2.Workflow [PR]
Sync PR [sync-upstream/pr/130444]
Version info
26.11.1.1872-master(included in26.11and later)