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

Batched TTL deletions can cause out-of-order oplog application for tenant migration state docs and that messes up tenant access blocker entries.

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Server Serverless 2022-06-13, Server Serverless 2022-06-27
    • 131

      When applying applyOps entries, we execute a code path different from the normal path when applying entries (which, for tenant migration namespaces, will ensure operations are applied serially). As a result, applyOps entries (for example, from a TTL deletion) can be applied in a different thread, thus resulting in out-of-order application. We should ensure that all oplog entries for tenant migration-related namespaces are applied serially.

            Assignee:
            christopher.caplinger@mongodb.com Christopher Caplinger
            Reporter:
            suganthi.mani@mongodb.com Suganthi Mani
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: