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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Gregory Noma
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: