[SERVER-34572] Write commands in transactions must check for pending catalog changes Created: 19/Apr/18  Updated: 29/Oct/23  Resolved: 30/Apr/18

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Tess Avitabile (Inactive) Assignee: Tess Avitabile (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2018-05-07
Participants:

 Description   

AutoGetCollectionForRead uasserts if we have readConcern level snapshot and there have been catalog changes since the read timestamp. This does not occur for write commands, since they use AutoGetCollection instead of AutoGetCollectionForRead. Write commands must also perform this check, since they use/update indexes.

This will be less of a concern once speculative behavior is in place, since we will always use the locally committed snapshot. But it will still be essential for atClusterTime.



 Comments   
Comment by Githook User [ 30/Apr/18 ]

Author:

{'email': 'tess.avitabile@mongodb.com', 'username': 'tessavitabile', 'name': 'Tess Avitabile'}

Message: SERVER-34572 Write commands in transactions must check for pending catalog changes
Branch: master
https://github.com/mongodb/mongo/commit/91504c83ade2ef9c9544a16cfa3e7f8deaafe1b9

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