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

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.0-rc0
    • Concurrency, Storage
    • None
    • Fully Compatible
    • ALL
    • 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

              maria.vankeulen@mongodb.com Maria van Keulen
              maria.vankeulen@mongodb.com Maria van Keulen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: