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

Support new unique index format during secondary apply

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Storage
    • None
    • Storage 2018-02-12, Storage 2018-02-26

    Description

      The new unique index format needs to avoid doing an insert/remove pair of operations on the unique index table when in dupsAllowed mode - since applyOps shares a set of work across multiple threads unique index constraints can be temporarily violated. The violation will be resolved at each batch completion boundary.

      We will be able to identify places in the code that require updates by looking for code that handles the dupsAllowed flag.

      We should use the test case developed in SERVER-32502 to verify that the code is correct.

      Attachments

        Activity

          People

            neha.khatri Neha Khatri
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: