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

DDL operations blocked by transactions also block authentication

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Security
    • Labels:
      None
    • ALL

      When DDL operations (e.g. dropDatabase) that require the global lock in X mode are blocked by inactive transactions. The DDL operations could block authentication because reading "user" collection needs the global lock in IS mode too. Transactions expire in 60 seconds by default, so authentication will be blocked for 60 seconds at most.

      Authentication is the first step to kill the running transactions or dropDatabase, so it might be usability problem.

            Assignee:
            spencer.jackson@mongodb.com Spencer Jackson
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: