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-2523 Client Side Operations Timeout #2882

Merged
merged 39 commits into from
Aug 8, 2024
Merged

RUBY-2523 Client Side Operations Timeout #2882

merged 39 commits into from
Aug 8, 2024

Conversation

comandeo-mongo
Copy link
Contributor

No description provided.

comandeo-mongo and others added 30 commits February 14, 2024 16:20
Co-authored-by: Jamis Buck <jamisbuck@gmail.com>
* 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 <dmitry.rybakov@mongodb.com>
Co-authored-by: Jamis Buck <jamis.buck@mongodb.com>
@comandeo-mongo comandeo-mongo marked this pull request as ready for review August 8, 2024 13:04
@comandeo-mongo comandeo-mongo requested a review from jamis August 8, 2024 13:05
@comandeo-mongo comandeo-mongo merged commit 56100d6 into master Aug 8, 2024
351 of 352 checks passed
@comandeo-mongo comandeo-mongo deleted the csot branch August 8, 2024 14: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