[SERVER-58984] awaitable_hello_fcv_change.js doesn't account for window between awaitable hello requests due to reconfig Created: 30/Jul/21  Updated: 29/Oct/23  Resolved: 04/Aug/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.3, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Vishnu Kaushik Assignee: Vishnu Kaushik
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:
v5.0
Participants:
Linked BF Score: 15

 Description   

In awaitable_hello_fcv_change.js, we

  • Send an awaitable hello request to the server
  • Change the FCV. This may cause a reconfig also, leading a possible early response to the hello request.
  • Resend the hello request if necessary, if we received an early response due to reconfig instead of from the FCV change.

While this is happening, we expect the number of waiting requests until the FCV change is performed to be 1. However, in the window from reconfig, that number may be 0.

We should use an assert.soon instead to wait for this condition to appear.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 11/Aug/21 ]

Author:

{'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}

Message: SERVER-58984 wait for configuration to be installed before proceeding in awaitable_hello_fcv_change.js
Branch: v5.0
https://github.com/mongodb/mongo/commit/bee0acbe03a290cee889002c3604bb493c332813

Comment by Githook User [ 04/Aug/21 ]

Author:

{'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}

Message: SERVER-58984 wait for configuration to be installed before proceeding in awaitable_hello_fcv_change.js
Branch: master
https://github.com/mongodb/mongo/commit/f5fc457d45e310f0b6d43306be6464bf5d9b88b3

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