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

dassert rather than invarianting when attempting to access uninitialized featureCompatibilityVersion

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Upgrade/Downgrade
    • Labels:
      None
    • Storage Execution

      Presently, our featureCompatibilityVersion getter will invariant that the parameter has been explicitly initialized. However, given the possibility of un-tested featureCompatibilityVersion access scenarios (see SERVER-34600), it might be better to dassert instead so a user cannot crash non-debug servers when accessing the fCV.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            maria.vankeulen@mongodb.com Maria van Keulen
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: