[SERVER-42210] Modify changestream tests on multiple databases to support interleaving Created: 12/Jul/19 Updated: 29/Oct/23 Resolved: 30/Jul/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.1, 4.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Davis Haupt (Inactive) | Assignee: | Davis Haupt (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | query-44-grooming | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v4.2
|
||||||||
| Participants: | |||||||||
| Linked BF Score: | 12 | ||||||||
| Description |
|
In sharded environments, it's possible that databases are on different primary shards with slightly different clocks, which would result in a different ordering of operations in the oplog than what was sent to mongos. TheĀ whole_cluster_metadata_notifications test should be updated to allow for an interleaved (but still causal) ordering of operations in the changestream. |
| Comments |
| Comment by Githook User [ 14/Aug/19 ] |
|
Author: {'username': 'davish', 'email': 'davis.haupt@mongodb.com', 'name': 'Davis Haupt'}Message: (cherry picked from commit 07d7310dde398690d41987f1687864a48c270bde) |
| Comment by Githook User [ 30/Jul/19 ] |
|
Author: {'name': 'Davis Haupt', 'username': 'davish', 'email': 'davis.haupt@mongodb.com'}Message: |