Skip to content

RUBY-2523 Client Side Operations Timeout #2877

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

Closed
wants to merge 27 commits into from
Closed

RUBY-2523 Client Side Operations Timeout #2877

wants to merge 27 commits into from

Conversation

comandeo-mongo
Copy link
Contributor

No description provided.

comandeo-mongo and others added 27 commits February 14, 2024 16:20
Co-authored-by: Jamis Buck <[email protected]>
* extract Mongo::Error::OperationFailure::Family

* add server timeout error, raised when error code == 50

* silence FLE errors on latest server

* only raise ServerTimeoutError when csot timeout is present on the context

* consolidate timeouts under TimeoutError

* reorder exception handlers to accomodate new base class for socket timeout errors
* starting on the op_msg timeout refactoring

* make sure classes with custom message() implementions set the timeouts

* add more tests
* cursors CSOT

* need to add context as parameter

* wups, maxTimeMS, not timeoutMS

* there is no msg variable here

* context#timeout_ms is not actually used anywhere
* change stream specs pass

* collateral damage

* tweak timeouts for jruby

* more timeout tweaks to accommodate jruby
* bump drivers-evergreen-tools

* skip failing tests on latest (RUBY-3464)

* Add single-node replica set configuration

* Do not run csot spec tests on regular configurations

* move spec/shared back to master after merging spec/shared PR

* test CSOT against all the dbs

* do not refresh the context, just update the one variable

otherwise, a "cursor_lifetime" cursor will have its deadline
inadvertently refreshed immediately after the "find" command, which
messes up the deadline check

* fix issues with change stream timeouts

* only run CSOT specs against one DB version

* skip failing specs on latest (pending SERVER-90047)

* correct bogus error during tests

* skip "range" tests on latest (pending RUBY-3423)

* try fixing broken lambda tests

something still wrong here, now getting a missing library when doing
`sam build`?

---------

Co-authored-by: Dmitry Rybakov <[email protected]>
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