Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12267

Docs for SERVER-38461: performSingleUpdateOpWithDupKeyRetry loops indefinitely

    XMLWordPrintableJSON

Details

    Description

      Description

      Description:

      Documentation changes are only needed if we discuss the scenario where 2 upserts can both attempt to insert, with one failing on DuplicateKey. With this ticket there are now scenarios where we will try the failed upsert and it can succeed.

      Engineering Ticket Description:

      UpdateStage::shouldRetryDuplicateKeyException should not return true for the replacement style upserts. See the repro.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            jeffrey.allen@mongodb.com Jeffrey Allen
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              4 years, 2 weeks, 6 days ago