[SERVER-64220] Improve error reporting when all feature flag file is not found in binary Created: 04/Mar/22  Updated: 29/Oct/23  Resolved: 07/Mar/22

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

Type: Improvement Priority: Major - P3
Reporter: Mridul Augustine (Inactive) Assignee: Mridul Augustine (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Cloners
Backwards Compatibility: Minor Change
Backport Requested:
v5.3, v5.2, v5.0, v4.4, v4.2, v4.0
Sprint: TIPS 2022-03-07
Participants:
Story Points: 1

 Description   

Users have been hit with the below exception a lot

NotImplementedError: Adding all feature flag not supported.Invalid config mongodb_setup.all_feature_flags.

when they run patches with binaries that don't have the all feature flag. We need to do the following

  1. Make the message clearer and explain whats the cause of this error.
  2. Update the default binary that's loaded in boostrap.yml to something more recent
    1. Add a note to the SOP informing people to update this binary when they make tarball related changes
  3. Update the default bypass binary in the evergreen yaml

https://mongodb.slack.com/archives/C01VD0LQZED/p1644257450096399



 Comments   
Comment by Githook User [ 08/Mar/22 ]

Author:

{'name': 'Mridul Augustine', 'email': 'mridul.augustine@mongodb.com', 'username': 'mridul-augustine'}

Message: SERVER-64220 Improve error reporting when all feature flag file is not found in binary
Branch: master
https://github.com/mongodb/mongo/commit/92be6034f426c98b38e951110b66bf277fa3a8db

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