[SERVER-37685] ensure free monitoring queue preserves FIFO on messages with same deadline Created: 19/Oct/18  Updated: 29/Oct/23  Resolved: 29/Oct/18

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

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

Issue Links:
Backports
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.0
Sprint: Security 2018-11-05
Participants:
Linked BF Score: 17

 Description   

There is a race condition in the free_mon_rs_resend.js test case where it enqueues RegisterCommand while a AsyncRegisterComplete sits in the queue. It then processes the RegisterCommand first which causes the test to fail since it expects two registers instead of one.



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

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-37685 Ensure free monitoring queue preserves FIFO on messages with same deadline

(cherry picked from commit eb2157a3d7c6b02d7d8f873afafd630f3d9aed4f)
Branch: v4.0
https://github.com/mongodb/mongo/commit/556d4f8b0fabeaac4958c8f6d319367c1a10b543

Comment by Githook User [ 26/Oct/18 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-37685 Ensure free monitoring queue preserves FIFO on messages with same deadline
Branch: master
https://github.com/mongodb/mongo/commit/eb2157a3d7c6b02d7d8f873afafd630f3d9aed4f

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