[SERVER-37799] Race in aggregation_currentop.js Created: 29/Oct/18  Updated: 29/Oct/23  Resolved: 30/Oct/18

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 4.0.4, 4.1.5

Type: Bug Priority: Major - P3
Reporter: Ian Boros Assignee: Ian Boros
Resolution: Fixed Votes: 0
Labels: None
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.0
Sprint: Query 2018-11-05
Participants:
Linked BF Score: 17

 Description   

This line may fail, as the currentOp command will return the local operations running on each shard. Because the failpoint is only set on the mongos, it's possible for the assert statement to be hit before the shards have started running the operation.



 Comments   
Comment by Githook User [ 30/Oct/18 ]

Author:

{'name': 'Ian Boros', 'email': 'ian.boros@10gen.com'}

Message: SERVER-37799 make aggregation_currentop.js more robust

(cherry picked from commit 6e33fadbe17b160f500a129c92235464ec5cd5b4)
Branch: v4.0
https://github.com/mongodb/mongo/commit/19b42b261fd82dc37d7de0aa6a3344e2fbe53384

Comment by Githook User [ 30/Oct/18 ]

Author:

{'name': 'Ian Boros', 'email': 'ian.boros@10gen.com'}

Message: SERVER-37799 make aggregation_currentop.js more robust
Branch: master
https://github.com/mongodb/mongo/commit/6e33fadbe17b160f500a129c92235464ec5cd5b4

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