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.
- is related to
-
SERVER-31845 WT performance regression with write retryability enabled
- Closed