Possible deadlock with auth check for building indexes

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.4.0-rc1
    • Affects Version/s: 2.3.2
    • Component/s: Concurrency, Security
    • None
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The auth checks for index creation happen far down, so that we can know the namespace that the index is being built on. This is a problem, however, because you might be in a lock when doing the auth checks, which could cause deadlock due to automatic privilege acquisition. We need to do the auth check at the beginning of the operation, before any locks are held

            Assignee:
            Spencer Brody (Inactive)
            Reporter:
            Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: