[SERVER-31448] SessionCatalogMigrationDestinationTest with calls to returnOplog & insertDocWithSessionInfo can be executed in undeterministic ordering Created: 06/Oct/17  Updated: 30/Oct/23  Resolved: 24/Oct/17

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.6.0-rc1

Type: Bug Priority: Major - P3
Reporter: Randolph Tan Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Assigned Teams:
Sharding
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 0

 Description   

And causing the test to fail since the was expecting a certain order to happen. An easy fix to make it more deterministic is to just call returnOplog({}) to make sure that the session migrate thread has already processed the older oplog before calling insertDocWithSessionInfo.



 Comments   
Comment by Githook User [ 24/Oct/17 ]

Author:

{'email': 'randolph@10gen.com', 'name': 'Randolph Tan', 'username': 'renctan'}

Message: SERVER-31448 SessionCatalogMigrationDestinationTest with calls to returnOplog & insertDocWithSessionInfo can be executed in undeterministic ordering
Branch: master
https://github.com/mongodb/mongo/commit/979ee612682b77d9cabaafae10787fbb578cd32a

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