[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:
Backports
Depends
Related
related to SERVER-40154 change_streams_resume_at_same_cluster... Closed
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: SERVER-39900 change_streams_resume_at_same_clustertime.js should not assume same that multi-update across shards are performed at the same clusterTime

(cherry picked from commit 5456ba4c303e6febdc89384d7851688c85d016a9)
Branch: v4.0
https://github.com/mongodb/mongo/commit/dbb0bbe1b7c0a735f56a470d78a3c22ef1e94ad8

Comment by Githook User [ 01/Mar/19 ]

Author:

{'name': 'James Wahlin', 'email': 'james@mongodb.com', 'username': 'jameswahlin'}

Message: SERVER-39900 change_streams_resume_at_same_clustertime.js should not assume same that multi-update across shards are performed at the same clusterTime
Branch: master
https://github.com/mongodb/mongo/commit/5456ba4c303e6febdc89384d7851688c85d016a9

Generated at Thu Feb 08 04:53:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.