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

Have resharding oplog fetcher resume from 'ts' component of largest _id inserted

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Sharding 2021-02-22
    • 81
    • 1

    Description

      The largest _id value in the config.localReshardingOplogBuffer.<existingUUID>.<donorShardId> collection should be used with {$match: {ts: {$gte: <resume oplog buffer _id.ts>}}} to resume. Properties to ensure are being tested:

      1. The oplog fetcher for resharding must not trigger a duplicate key error when resuming.
      2. The oplog fetcher for resharding must not miss a document when resuming.

      Attachments

        Issue Links

          Activity

            People

              yuhong.zhang@mongodb.com Yuhong Zhang
              max.hirschhorn@mongodb.com Max Hirschhorn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: