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

Investigate removing references to FCV constants and replacing with feature flags throughout server code

    • Replication

      Before feature flags, FCV checks were done within server code by comparing our current FCV to some FCV constant. Now that feature flags are available, they seem to be a better infrastructure for these sort of FCV checks. As a result, we should consider transitioning away from these FCV checks and replacing them with feature flags throughout the code base. This can potentially be done by banning usages of these FCV constants in C++ code, so that they can only be referenced in feature flag IDL files.

      We should start by typing up a proposal for this change and sending it to each of the server & query teams. If we do make this change, we should also send out an email to DB contributors regarding this.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            xuerui.fa@mongodb.com Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: