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

Creation of *.system.profile collection should retry on WriteConflicts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0-rc6, 4.7.0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      Execution Team 2020-05-18
    • Linked BF Score:
      15

      Description

      If concurrent operations try to create the "*.system.profile" collection at the same time, all but one will get a WriteConflictException here. This can cause a command to fail while profiling, even though the underlying operation may have actually succeeded.

      The collection creation here needs a writeConflictRetry loop.

        Attachments

          Activity

            People

            Assignee:
            dianna.hohensee Dianna Hohensee
            Reporter:
            louis.williams Louis Williams
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: