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

Support new unique index format during secondary apply

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Storage 2018-02-12, Storage 2018-02-26
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: