Skip to content

Conversation

@eramongodb
Copy link
Contributor

Resolves CXX-3163. Verified by this patch.

Following #1257, workarounds that were required for mnmlstc/core optional<T> compatibility are no longer required.

These former workarounds consist of improper initialization of underlying objects affecting the behavior of the type (fixed in mnmlstc/core@776eb3e but never released). The mongocxx::v_noabi::options::change_stream class's _start_at_operation_time data member (and related accessors) are most notably affected by this issue and the primary change in this PR. Related workarounds in test code are also replaced.

@eramongodb eramongodb requested a review from kevinAlbs November 12, 2024 19:48
@eramongodb eramongodb self-assigned this Nov 12, 2024
CHANGELOG.md Outdated
- CMake option `ENABLE_TESTS` is now `OFF` by default.
- Set `ENABLE_TEST=ON` to re-enable building test targets.
- Set `BUILD_TESTING=ON` to include test targets in the "all" target when `ENABLE_TESTS=ON` (since 3.9.0, `OFF` by default).
- Layout of `mongocxx::v_noabi::options::change_stream` to support optional `start_at_operation_time` accessors.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Layout of `mongocxx::v_noabi::options::change_stream` to support optional `start_at_operation_time` accessors.
- Layout of `mongocxx::v_noabi::options::change_stream` to support optional `start_at_operation_time` accessor.

@eramongodb eramongodb merged commit 2bfd2a9 into mongodb:master Nov 12, 2024
1 check was pending
@eramongodb eramongodb deleted the cxx-3163 branch November 12, 2024 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants