CommitChunkMigration command should commit chunk even if it's been split.

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Sharding
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Since a migration can potentially run without a distributed lock if the balancer restarts and abandons its active migration, there's a possibility – though slim – that a split occurs on the chunk that is moving and then the migration tries to commit.

      If the balancer holds the distlock again, and the collection version epoch still matches, the commit command then looks for the chunk in the config.chunks collection.

      It currently looks for an exact match, but this could be changed to allow for splitting.

            Assignee:
            [DO NOT USE] Backlog - Sharding Team
            Reporter:
            Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: