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

race in migration commit can cause it to timeout

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.7.7
    • 2.7.6
    • Sharding
    • None
    • ALL
    • 0

    Description

      Description of race:

      1. moveChunk on collection C0 from shard S1 to S0.
      2. S1 sends S0 recvChunkCommitStart
      3. S0 migrate thread finishes and set active to false.
      4. moveChunk on collection C1 from shard S2 to S0.
      5. startCommit from #2 proceeds on the loop for active to become false (https://github.com/mongodb/mongo/blob/r2.7.6/src/mongo/s/d_migrate.cpp#L2248)
      6. startCommit times out on the condition variable as long as moveChunk in #4 takes more than 30 secs.

      Attachments

        Activity

          People

            randolph@mongodb.com Randolph Tan
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: