[SERVER-39605] Confirmation of registration in free_mon_rs_resend.js may race with registration Created: 15/Feb/19  Updated: 27/Oct/23  Resolved: 10/Jun/19

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

Type: Bug Priority: Major - P3
Reporter: Spencer Jackson Assignee: Backlog - Security Team
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-39823 Free Monitoring may ignore re-registe... Closed
Assigned Teams:
Server Security
Operating System: ALL
Backport Requested:
v4.2
Sprint: Security 2019-04-22, Security 2019-05-06, Security 2019-05-20, Security 2019-06-03, Security 2019-06-17
Participants:
Linked BF Score: 9

 Description   

The primary's webserver is instructed to return a re-registration request on the third metrics upload. When this happens, it persists a document to disk which describes free monitoring being in the pending state, which gets replicated to the secondary. While the secondary has this document, it will display the "pending" state in serverStatus. The test has a race, where it will wait for one registration on the primary and secondary, then check serverStatus. It is possible for the primary to make three metrics uploads, and get the re-registration request before the serverStatus is validated.



 Comments   
Comment by Spencer Jackson [ 10/Jun/19 ]

This issue has very likely been resolved by general reliability improvements to this test made in SERVER-39823.

Comment by Andrew Morrow (Inactive) [ 09/Jun/19 ]

spencer.jackson - Can we assign this out to someone? It will let us close a BF when we fix it.

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