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

waitForMoveChunkStep test helper should take in to account moveChunk in 'join' mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.4.0-rc0
    • Fix Version/s: 3.4.0-rc1
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Sharding 2016-10-31
    • Linked BF Score:
      0

      Description

      It is possible to have multiple threads running the same moveChunk command at the same time on the same shard. Only one of which is doing the actual work while the rest waits for it to finish. The waitForMoveChunkStep assumes that there can only be one moveChunk and returns right away instead of checking the other ops:

      https://github.com/mongodb/mongo/blob/r3.4.0-rc0/jstests/libs/chunk_manipulation_util.js#L129

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              renctan Randolph Tan
              Reporter:
              renctan Randolph Tan
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: