-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
Ruby Drivers
-
None
-
None
-
None
-
None
-
None
-
None
The following code
client.with_session(default_timeout_ms: 10_000) do |session| session.with_transaction do collection.insert_many(documents) end end
fails with
ArgumentError: Cannot override timeout_ms inside with_transaction block
because BulkWrite#executed calculates operation_timeout_ms based on the client's timeout:
- is related to
-
RUBY-3683 Transactions do not allow for disabling the CSOT by setting timeout_ms=0
-
- Investigating
-