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

Ignore duplicate key errors caused by bulk inserts with concurrent movePrimary

    • Sharding EMEA
    • Fully Compatible
    • Sharding EMEA 2023-02-20
    • 35

      Retryable writes may not work properly when performed on a shard involved as originator of a movePrimary operation. In this scenario, insert operations could be performed twice causing duplica key errors.
       
      This is a known bug (SERVER-32113) which will be resolved in the context of the Online movePrimary project. The goal of this ticket is to implement a workaround to initializate the document snapshot of some collections using in move_primary_with_crud.js. A temporary solution (valid for this ticket) could be ignore these errors.

            Assignee:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Reporter:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: