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

The `testMoveChunkWithSession` test utility should ensure the config server primary knows about the stepped-down shard

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0-rc0
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change
    • Operating System:
      ALL
    • Sprint:
      Sharding 2017-10-23

      Description

      The testMoveChunkWithSession utility calls moveChunk right after it has stepped-down the primary of the donor shard.

      As a result it is possible that the config server primary (which hosts the balancer) hasn't yet figured out the new shard replica set state and as a result the moveChunk command might fail with this message:

      Error: command failed: {
        "ok" : 0,
        "errmsg" : "moveChunk command failed on source shard. :: caused by :: NotMaster: not master",
        "code" : 96,
        "codeName" : "OperationFailed"
        } : undefined :
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kaloian.manassiev Kaloian Manassiev
              Reporter:
              kaloian.manassiev Kaloian Manassiev
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: