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

Disallow retryable writes in storage engines which do not support document-level locking

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.6.0-rc3
    • 3.6.0-rc5, 3.7.1
    • Sharding
    • Fully Compatible
    • v3.6
    • Sharding 2017-12-04
    • 0

    Description

      While retryable writes works in MMAPV1, due to the collection-level locking its performance is so bad that it cannot be used in practice. Because of this, we should disable retryable writes if StorageEngine::supportsDocLocking() == false.

      The effective behaviour should be that if the storage engine doesn't support document-level locking, any requests which include a txnNumber should fail with code UnsupportedOperation.

      Attachments

        Issue Links

          Activity

            People

              jack.mulrow@mongodb.com Jack Mulrow
              randolph@mongodb.com Randolph Tan
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: