[SERVER-30289] Ensure parallel shell in change_notification.js has started before running getMore it will wait for Created: 24/Jul/17  Updated: 30/Oct/23  Resolved: 04/Aug/17

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 3.5.12

Type: Bug Priority: Major - P3
Reporter: Charlie Swanson Assignee: Charlie Swanson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2017-07-31, Repl 2017-08-21
Participants:
Linked BF Score: 0

 Description   

As seen in BF-6014, it's possible for the shell to take more than one second to start up and check the output of currentOp, so by the time it does so, the operation it's waiting for (the getMore with a maxTimeMS of 1 second), can complete.



 Comments   
Comment by Githook User [ 04/Aug/17 ]

Author:

{'username': 'cswanson310', 'email': 'charlie.swanson@mongodb.com', 'name': 'Charlie Swanson'}

Message: SERVER-30289 Ensure shell starts before getMore in change stream test.
Branch: master
https://github.com/mongodb/mongo/commit/bb8a59837b1be306cb42e0a3e84ffe42290f79ea

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