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

restartCatalog command incorrectly uses `Database::getCollection` API

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0-rc2, 4.1.1
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v4.0
    • Storage NYC 2018-06-04
    • 0

      Database::getCollection expects a fully qualified namespace (i.e: <db>.<coll> form). However restartCatalog only passes in the collection. When the guard executes because of a failure to close, the process is guaranteed to crash.

            Assignee:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Reporter:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: