Tag server_status_metrics.js requires_document_locking

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2020-02-10
    • 44
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The new test added in SERVER-44711 for metrics.repl.network.oplogGetMoresProcessed requires_document_locking. This is because the test blocks oplog fetching on a failpoint while trying to do oplog writes. Under ephemeralForTest, the oplog writes (acquiring X lock) would conflict with the oplog reads (holding S lock) that's blocked on a failpoint.

      Normally that's not a problem because oplog writes should take MODE_IX locks and oplog reads should take MODE_IS when the storage engine supports document level locking.

            Assignee:
            Lingzhi Deng
            Reporter:
            Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: