Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RUBY-3379 CSOT for bulk writes #2859

Merged
merged 2 commits into from
Apr 12, 2024

Conversation

comandeo-mongo
Copy link
Contributor

No description provided.

@comandeo-mongo comandeo-mongo requested a review from jamis April 11, 2024 15:29
@@ -62,8 +62,19 @@ def execute
validate_requests!

client.send(:with_session, @options) do |session|
Copy link
Contributor

Choose a reason for hiding this comment

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

This is honestly beyond the scope of this review, but it's something I've been trying to "fix" as I run into them :) Client#with_session is no longer a private method (only @api private), so we can change these client.send(:with_session) calls into straight client.with_session calls.

@comandeo-mongo comandeo-mongo merged commit 4133a25 into mongodb:csot Apr 12, 2024
280 of 303 checks passed
@comandeo-mongo comandeo-mongo deleted the 3379-csot-bulk-writes branch April 12, 2024 09:37
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