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

Balancer can return Status::OK for a manual moveChunk while the migration is still waiting on waitForDelete

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

      Mongos sends moveChunk command, balancer on config server schedules it, then config server steps down, interrupting the balancer at the point where the migration has been committed but waitForDelete has not finished on the shard. MigrationManager::executeManualMigration does a check on failure to see if the moveChunk was actually successful, and if so, sets the Status to OK.

      If this is the case, we should not set Status to OK if the error is identifiably due to config interrupt/stepdown.

            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: