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

Use getSiblingDB instead of getDB in feature_flag_util.js

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2023-03-06
    • 25

    Description

      The db.getDB call can fail in case the function doesn't exist.

      Instead we should use the db.getSiblingDB method.

      Attachments

        Activity

          People

            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: