Should only take a collection MODE_IX lock for creating system.profile

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.0-rc1, 4.7.0
    • Affects Version/s: None
    • Component/s: Concurrency, Storage
    • None
    • Fully Compatible
    • v4.4, v4.2
    • Execution Team 2020-04-20
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      At introspect.cpp, we take a database MODE_X lock and have some complicated looping code to deal with those locking issues. Now we can create collections with just a collection MODE_IX lock, this is no longer necessary and we can reduce the complexity.

      We should also investigate what we currently do for profiling inside of transactions.

              Assignee:
              Gregory Noma
              Reporter:
              Geert Bosch
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: