Details
Description
If a cursor was created in a transaction (or snapshot read), it should not be allowed to getMore it outside of that transaction. If a cursor was not created in a transaction (or snapshot read), it should not be allowed to getMore it inside a transaction.
Additionally, a cursor should be iterated in a session iff it was created in that session.
Attachments
Issue Links
- is depended on by
-
SERVER-33368 Add snapshot read testing for txnNumber change on Session::onMigrateBeginOnPrimary() call
-
- Closed
-
- is documented by
-
DOCS-11425 Update getMore for Transactions (SERVER-33367)
-
- Closed
-
- related to
-
SERVER-34204 Tailable cursor fails on getMore against a sharded cluster
-
- Closed
-