[SERVER-57176] The 'validateFeaturesAsPrimary' flag should be set to false while a node is in recovery phase Created: 25/May/21  Updated: 29/Oct/23  Resolved: 17/Jun/21

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

Type: Bug Priority: Major - P3
Reporter: Arun Banala Assignee: Vesselina Ratcheva (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: Repl 2021-06-28
Participants:
Linked BF Score: 135

 Description   

The validateFeaturesAsPrimary flag is initialized to true on startup, and later set to false after the recovery phase. During recovery it looks like the flag would remain true. This will make the node incorrectly apply FCV validation when syncing oplog entries



 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 [ 25/Jul/21 ]

Author:

{'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com', 'username': 'vessy-mongodb'}

Message: SERVER-57176 Set 'validateFeaturesAsPrimary=false' while in replication recovery

(cherry picked from commit 9170975b9bfccd0f7b2dc6f98b319d732370c756)
Branch: v5.0
https://github.com/mongodb/mongo/commit/49db4064d02edf55ae97114f6a55157596ae91ec

Comment by Githook User [ 17/Jun/21 ]

Author:

{'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com', 'username': 'vessy-mongodb'}

Message: SERVER-57176 Set 'validateFeaturesAsPrimary=false' while in replication recovery
Branch: master
https://github.com/mongodb/mongo/commit/9170975b9bfccd0f7b2dc6f98b319d732370c756

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