[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: |