restartCatalog command incorrectly uses `Database::getCollection` API

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: