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

Remove restartCatalog

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Minor Change
    • v4.2
    • Execution Team 2020-02-10
    • 11

      Update: we actually think we should remove restartCatalog altogether.

      Remove global X lock acquisition for restartCatalog. This is because acquiring global lock in X mode can be blocked by prepared transactions. The enqueued global X lock can block oplog queries which need the global IS lock. If these oplog queries and the data replication are needed to satisfy the prepared transaction's write concern, then the prepare transaction and replication cannot make progress. Thus a deadlock occurs.

      Alternatively, if removing global X lock is not an option, deprecate the command or make sure it won't be blocked on prepare transactions.

            Assignee:
            andrew.chen@mongodb.com Andrew Chen
            Reporter:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: