Running listDatabases command and renameCollection command concurrently on mobile storage engine can cause WriteConflict errors

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0.0-rc0
    • Affects Version/s: None
    • Component/s: Concurrency, Storage
    • None
    • Fully Compatible
    • ALL
    • Storage NYC 2018-05-21
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The test that is being added as part of SERVER-34531 fails when run on the mobile storage engine due to WriteConflict errors that occur when concurrently running listDatabases and renameCollection. Obtaining the sizeOnDisk value is what appears to be causing the WriteConflict error. This section of listDatabases should be wrapped in a writeConflictRetry loop.

            Assignee:
            Maria van Keulen
            Reporter:
            Maria van Keulen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: