The dbstats command should lock the database in MODE_IS instead of MODE_S

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.12, 4.0.5, 4.1.6
    • Affects Version/s: None
    • Component/s: Concurrency
    • Fully Compatible
    • v4.0, v3.6, v3.4
    • Storage NYC 2018-12-03
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently the dbstats command locks the database in MODE_S, which causes issues with transactions that may hold MODE_IX locks for extended periods of time. Similar to the changes we made for listCollections, we should instead lock the database in MODE_IS and then lock each collection in turn to get stats.

              Assignee:
              Xiangyu Yao (Inactive)
              Reporter:
              Geert Bosch
              Votes:
              0 Vote for this issue
              Watchers:
              16 Start watching this issue

                Created:
                Updated:
                Resolved: