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

`findAndModify` does not retry on unique index violations

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • Hide

       

       

      Show
         

      `findAndModify` is still throwing "E11000 duplicate key error" even in cases where all the conditions outlined in SERVER-14322 are fulfilled.

      This has been confirmed by 3 independent users – see comments https://jira.mongodb.org/browse/SERVER-14322?focusedCommentId=4035914&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-4035914 and following.

      Maybe SERVER-37124 was implemented for `update` but not for `findAndModify`?

            Assignee:
            Unassigned Unassigned
            Reporter:
            jordi@mixmax.com Jordi Salvat i Alabart
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: