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

Make the chunk move/split/merge methods update the chunk's history

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.3
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding 2018-03-12, Sharding 2018-03-26

      As part of this change we should modify the _configsvrCommitChunkMigration,
      _configsvrCommitChunkSplit,
      _configsvrCommitChunkMerge commands to include a timestamp at which the migration is considered prepared (this should be the latest in-memory clusterTime on the donor shard, as obtained through LogicalClock::get(opCtx)->getClusterTime()). The config server commands should thread-through this timestamp down to the catalog manager chunk operations, which is what should maintain the history array and perform cleanups if necessary.

            Assignee:
            martin.neupauer@mongodb.com Martin Neupauer
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: