MigrationSourceManager isn't using CollectionMetadata::getNextChunk correctly for error logging.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.4.0-rc1
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2016-10-10
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The logic in the MigrationSourceManager here should be fixed. CollectionMetadata::getNextChunk won't necessarily return a chunk with the minKey given, but can also return the next chunk with a minKey higher than the given one. The use in MigrationSourceManager does not seem to account for this.

            Assignee:
            Dianna Hohensee (Inactive)
            Reporter:
            Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: