[SERVER-47569] Allow operations with readConcern snapshot outside of transactions (mongod) Created: 15/Apr/20 Updated: 29/Oct/23 Resolved: 20/Apr/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Lingzhi Deng | Assignee: | Lingzhi Deng |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Repl 2020-05-04 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Remove this uassert to allow “snapshot” reads outside of transactions. |
| Comments |
| Comment by Githook User [ 20/Apr/20 ] |
|
Author: {'name': 'Lingzhi Deng', 'email': 'lingzhi.deng@mongodb.com', 'username': 'ldennis'}Message: |
| Comment by Lingzhi Deng [ 20/Apr/20 ] |
|
mongos has this uassert in strategy.cpp. |
| Comment by A. Jesse Jiryu Davis [ 20/Apr/20 ] |
|
It looks like we don't need an equivalent ticket in mongos; service_entry_point_mongos.cpp doesn't have this uassert. I guess mongos relies on mongod to enforce the current rule, "prohibit snapshot reads outside transactions". |