-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Persistence context in Mongoid permits overriding driver options used for operations. Currently the override is on client level, even though the override applies to a particular set of operations rather to the client overall. Mongoid should provide a mechanism for overriding persistence context options on operation level, that is, send the options as part of operations (reads/writes) instead of creating a new client with the options and dispatching operations through the temporary client.
This work will be needed as part of CSOT implementation in Mongoid, as operation timeout will be specifiable (in driver) both on client level and on operation level.
This will also enable setting options that only exist as per-operation options, such as maxtimems, which currently aren't settable via Mongoid at all.
- is depended on by
-
MONGOID-5480 Implement CSOT in Mongoid
-
- Backlog
-