-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Storage Execution
-
Execution Team 2020-01-13
-
9
It is not incorrect to use WiredTiger cursors without an active transaction, however this can be problematic when operations have preconditions in flags passed to begin_transaction(). Without an active transaction, an operation may expect to ignore prepare conflicts, but not (see SERVER-44581).
Like we do for writes, we should assert that cursor next() and seek() operations are performed inside an active transaction.
- depends on
-
SERVER-44577 Ensure WiredTiger cursors have started a transaction before reading data
- Closed
- is related to
-
SERVER-44577 Ensure WiredTiger cursors have started a transaction before reading data
- Closed