Determine the errors on which MigrationSourceManager::commitDonateChunk doesn't need to do a chunk metadata refresh.

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Sharding
    • Sharding 2016-10-10
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When ErrorCodes::BalancerLostDistributedLock is received, there's no need to refresh the chunk metadata to find out whether it's okay to fail the command normally or the shard must fassert because the state is unrecoverable.

      There may be other errors as well that the CommitChunkMigration command returns where it is assured the command can safely fail without any concern about corrupt metadata.

      Check out whether the RemoteCommandRetryScheduler::kAllRetriableErrors or RemoteCommandRetryScheduler::kNotMasterErrors sets of error codes can be used in some way.

            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: