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

Update existing tenant migration fetch committed transactions entry before startOptime to support shard merge

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • Server Serverless 2022-05-02, Server Serverless 2022-05-16, Server Serverless 2022-05-30, Server Serverless 2022-06-13, Server Serverless 2022-06-27, Server Serverless 2022-07-11

      We need to fetch all committed transaction entries from config.transaction tables, with lastWriteOpTime.ts <= startApplyingDonorTimestamp, before applying donor oplog entries. Currently, we have createCommittedTransactionsPipelineForTenantMigrations() which is used by multi-tenant migration protocol to fetch committed transaction entries only for a given tenant id. We don't need such a complex pipeline for shard merge protocol as we are migrating all tenants from donor. So, simple find command should be suffice for shard merge.

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

              Created:
              Updated:
              Resolved: