[SERVER-33354] Add snapshot read support for additional commands Created: 15/Feb/18  Updated: 29/Oct/23  Resolved: 20/Mar/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 3.7.4

Type: Task Priority: Major - P3
Reporter: James Wahlin Assignee: James Wahlin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-11245 Docs for SERVER-32517: Parse readConc... Closed
Related
related to SERVER-33372 Support readConcern snapshot for updates Closed
related to SERVER-32325 Allow doing a single insert operation... Closed
related to SERVER-33430 Do not update in-memory Session state... Closed
related to SERVER-33666 Make $geoNear stage and geoNear comma... Closed
related to SERVER-33686 Support delete operations in transact... Closed
related to SERVER-33705 Add snapshot read support for findAnd... Closed
is related to SERVER-33976 Restrict multi-statement transactions... Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-03-26
Participants:

 Description   

Add snapshot read support for the following commands:

  1. parallelCollectionScan
  2. count
  3. distinct
  4. group (deprecated)


 Comments   
Comment by Githook User [ 20/Mar/18 ]

Author:

{'email': 'james@mongodb.com', 'name': 'James Wahlin', 'username': 'jameswahlin'}

Message: SERVER-33354 Add snapshot read support for additional commands
Branch: master
https://github.com/mongodb/mongo/commit/aaba5b468e67f81380f7fa099932a2722dab3a8a

Comment by James Wahlin [ 19/Mar/18 ]

Removed geoSearch from the scope of this ticket as support already exists.

Comment by James Wahlin [ 19/Mar/18 ]

Created SERVER-33976 to handle addition of a multi-statement transaction command white-list.

Comment by James Wahlin [ 06/Mar/18 ]

Moved support for findAndModify to SERVER-33705.

Comment by Siyuan Zhou [ 05/Mar/18 ]

Moved the support for delete (single & multi) into SERVER-33686.

Comment by David Storch [ 05/Mar/18 ]

Moved the task to support geoNear command (along with the $geoNear agg stage) to SERVER-33666.

Comment by Siyuan Zhou [ 01/Mar/18 ]

Moved insert to SERVER-32325.

Comment by Spencer Brody (Inactive) [ 28/Feb/18 ]

We should make sure to be careful that adding snapshot read support for these commands doesn't allow them to be run as part of transactions

Comment by Siyuan Zhou [ 26/Feb/18 ]

SERVER-33477 might address the WriteConflict error you saw and unblock you from running the test.

Comment by Tess Avitabile (Inactive) [ 26/Feb/18 ]

Note that SERVER-33372 only added support for single-statement updates. Multi-statement updates currently return a WriteConflict error. Supporting multi-statement updates requires a refactor of the code to update the session transactions table, which will be done as part of SERVER-33430.

Comment by Tess Avitabile (Inactive) [ 16/Feb/18 ]

The work for updates is tracked in SERVER-33372.

Generated at Thu Feb 08 04:33:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.