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

idhack_sharded.js should use _waitForDelete:true in moveChunk

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.3, 3.7.1
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v3.6
    • Query 2018-01-15
    • 0

      idhack_sharded.js runs a moveChunk command without _waitForDelete:true. It then inserts an orphan document and expects to see the result in the count command. However, if range deletion has not yet completed, the document could be deleted in between the insert and the count.

            Assignee:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Reporter:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: