Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-78048

Add more developer guidance to the FCV README

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Replication

    Description

      A few points which I believe would be helpful to touch on in this README:

      • FCV initialization is mentioned, but it could be helpful to give some guidance on the appropriate place to add a hook which executes after FCV is initialized on each type of server (for example, use ReplSetAwareService::onInitialDataAvailable for replset members, add a hook in _initAndListen at some point after repairAndRecoverDatabases for standalones)
      • Some mention/caution of how the mongos works with FCV (i.e. that serverCompatibility.featureVersion will always give the mongos's binary version, and that this means that feature flag checks do not necessarily represent whether the state of the feature flag on the cluster).
      • Explanation of the expected order of binary upgrade/downgrade on a cluster, i.e. which nodes get upgraded/downgraded first, when in the process do we set FCV, etc. (not 100% sure of whether this is the correct fit for this document, but it is relevant when thinking about FCV)

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            gabriel.marks@mongodb.com Gabriel Marks
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: