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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc6, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-05-18
    • 15

      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.

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: