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-3046 send no_cursor_timeout to server again #2557

Merged
merged 7 commits into from
Jul 18, 2022

Conversation

sylvain-8422
Copy link
Contributor

@sylvain-8422 sylvain-8422 commented Jul 9, 2022

https://jira.mongodb.org/browse/RUBY-3046

Original report:

Mongo::Collection::View#no_cursor_timeout stopped working at commit 2d9f021 (version 2.16.0).

I offer a spec as proof that it is no longer working.

The spec is green at commit aab776e (last working commit).

I am myself working with MongoDB 4.4 and Ruby 2.6.

The bug also renders Mongoid's .no_timeout ineffective (does nothing).

Do not hesitate to ask me questions if something is unclear. 😄

@sylvain-8422 sylvain-8422 changed the title Mongo::Collection::View#no_cursor_timeout regression RUBY-3046: Mongo::Collection::View#no_cursor_timeout regression Jul 9, 2022
@p-mongo p-mongo changed the title RUBY-3046: Mongo::Collection::View#no_cursor_timeout regression RUBY-3046 send no_cursor_timeout to server again Jul 15, 2022
@p-mongo p-mongo requested review from comandeo and Neilshweky July 16, 2022 15:40
@p-mongo p-mongo merged commit bad7fdc into mongodb:master Jul 18, 2022
p-mongo pushed a commit that referenced this pull request Jul 18, 2022
* Mongo::Collection::View#no_cursor_timeout regression

* adjust description

* add a unit test

* pass no cursor timeout option to server

* fix test with auth

* restrict to standalones

Co-authored-by: Oleg Pudeyev <code@olegp.name>
Co-authored-by: Dmitry Rybakov <dmitry.rybakov@mongodb.com>
p-mongo pushed a commit that referenced this pull request Jul 18, 2022
* Mongo::Collection::View#no_cursor_timeout regression

* adjust description

* add a unit test

* pass no cursor timeout option to server

* fix test with auth

* restrict to standalones

Co-authored-by: Oleg Pudeyev <code@olegp.name>
Co-authored-by: Dmitry Rybakov <dmitry.rybakov@mongodb.com>
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.

5 participants