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

restartCatalog command incorrectly uses `Database::getCollection` API

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0-rc2, 4.1.1
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0
    • Sprint:
      Storage NYC 2018-06-04
    • Linked BF Score:
      0

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            daniel.gottlieb Daniel Gottlieb
            Reporter:
            daniel.gottlieb Daniel Gottlieb
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: