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

BSONColumn validation reads uninitialized FCV for array compression feature flag check

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc1, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v6.0
    • Execution Team 2022-05-02
    • 165

      The test-only hook _validateBSONColumnRoundtrip() for BSONColumn validation assumes that the FCV is initialized when it checks if array compression is enabled.

      This is not always the case especially in startupRepair() when repair::repairCollection() is called before we restore/initialize the FCV document.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: