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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0-rc0
    • Component/s: Concurrency, Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Storage NYC 2018-05-21

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: