Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11039

Docs for SERVER-31941: Disallow retryable writes in storage engines which do not support document-level locking

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.6.0-rc5, 3.7.1
    • None
    • None

    Description

      Documentation Request Summary:

      No documentation summary in engineering ticket

      Engineering Ticket 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

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 12 weeks, 2 days ago