[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:
Backports
Depends
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: SERVER-42210 relax test assertions for whole_cluster_metadata_notifications

(cherry picked from commit 07d7310dde398690d41987f1687864a48c270bde)
Branch: v4.2
https://github.com/mongodb/mongo/commit/df5a649964c8c83084ba47ab2e0310cedb95544e

Comment by Githook User [ 30/Jul/19 ]

Author:

{'name': 'Davis Haupt', 'username': 'davish', 'email': 'davis.haupt@mongodb.com'}

Message: SERVER-42210 relax test assertions for whole_cluster_metadata_notifications
Branch: master
https://github.com/mongodb/mongo/commit/07d7310dde398690d41987f1687864a48c270bde

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