[SERVER-39900] change_streams_resume_at_same_clustertime.js should not assume same that multi-update across shards are performed at the same clusterTime Created: 01/Mar/19 Updated: 29/Oct/23 Resolved: 01/Mar/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.7, 4.1.9 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | James Wahlin | Assignee: | James Wahlin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Backport Requested: |
v4.0
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 11 | ||||||||||||||||
| Description |
|
This check assumes that a multi-update that performed outside of a transaction, on sharded cluster, will result in all writes occurring at the same cluster time. This is an incorrect assumption as each write will be performed at the individual shard's cluster time. I believe we should change this check to be an assert.gte(). |
| Comments |
| Comment by Githook User [ 01/Mar/19 ] |
|
Author: {'name': 'James Wahlin', 'email': 'james@mongodb.com', 'username': 'jameswahlin'}Message: (cherry picked from commit 5456ba4c303e6febdc89384d7851688c85d016a9) |
| Comment by Githook User [ 01/Mar/19 ] |
|
Author: {'name': 'James Wahlin', 'email': 'james@mongodb.com', 'username': 'jameswahlin'}Message: |