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

after migration completes, shard donor primary sends oplog message to secondaries to invalidate chunk metadata

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible

      secondaries should be able to just refresh as soon as they receive the message because the oplog message will be written after chunk metadata is refresh on the primary – after the chunk metadata updates have been persisted.

      This should probably be done at the end of the migration critical section

      It's only necessary to do this on the donor shard, whose secondaries could return stale data because the chunk has been moved elsewhere. Recipient shards only become aware of their data when they get requests for it via a higher shard version.

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: