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

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

      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.vankeulen@mongodb.com Maria van Keulen
            Reporter:
            maria.vankeulen@mongodb.com Maria van Keulen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: