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

restartCatalog expects listDatabases to include empty databases

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: 4.2.0
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Execution Team 2019-10-07
    • 15

      Two phase dropDatabase sets a drop pending flag flag so other operations can cooperatively serialize execution.

      One such consumer is the test command, restartCatalog. However the list of databases restartCatalog receives only contain databases with at least one collection. That list is not consistent with the databases that DBHolder knows about.

      This can cause restartCatalog to delete database objects; consequently losing their drop pending state.

            Assignee:
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Reporter:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: