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

Remove special handling for MinKey chunk owning donor shard from resharding oplog fetching pipeline

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

      The design for resharding originally had recipient shards only listening for createIndexes, startIndexBuild, commitIndexBuild, and abortIndexBuild oplog entries from the donor shard owning the MinKey chunk. The donor shard owning the MinKey chunk was chosen to match how mongos forwards listIndexes on sharded collections to the shard which owns the MinKey chunk. Now that resharding will abort the operation if it sees any index being built or dropped, there is no need to special case the MinKey chunk owning donor shard. Removing this special casing would simplify the testing surface area.

            yuhong.zhang@mongodb.com Yuhong Zhang
            max.hirschhorn@mongodb.com Max Hirschhorn
            0 Vote for this issue
            2 Start watching this issue