[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: |
|
||||
| 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: |