[SERVER-84723] Sharded multi-document transactions can observe partial effects of concurrent DDL operations Created: 10/Jan/24 Updated: 01/Feb/24 Resolved: 31/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 7.0.0 |
| Fix Version/s: | 8.0.0-rc0 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Jordi Serra Torrens | Assignee: | Jordi Serra Torrens |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||
| Assigned Teams: |
Catalog and Routing
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||
| Backport Requested: |
v7.0
|
||||||||||||||||||||||||
| Sprint: | CAR Team 2024-01-22, CAR Team 2024-02-05 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
Consider the following interleaving (repro1.js):
2. Start txn with local or majority read concern, hit shard0 to read collB [shard0's txn snapshot has: ns1 and ns2] Moreover, if collectionC existed initially, the transaction would observe a mix of the original collection and the post-rename collection. Another anomaly is (repro2.js):
2. Start txn (local, majority or snapshot read concern), hit shard0 for collB |
| Comments |
| Comment by Githook User [ 31/Jan/24 ] |
|
Author: {'name': 'Jordi Serra Torrens', 'email': 'jordist@users.noreply.github.com', 'username': 'jordist'}Message: GitOrigin-RevId: 3a7b1e4f29dfae062ad1ef904280a1e40d0a411c |