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

Documents with secondary unique indexed fields may not replicate properly on KV storage engines

    XMLWordPrintable

Details

    • ALL
    • 0

    Description

      When replicating document ops with doc-level-locking storage engines, we may batch apply operations in parallel within the same collection. If unique secondary indexes exist (that is, unique indexes other than id), their unique constraints may be temporarily violated during the application of a batch of ops. If this happens, the secondary node would detect this and shut down before data corruption resulted.
      In order to fix this, we need to disable unique key checking while applying ops on secondaries.

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: