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

idhack_sharded.js should use _waitForDelete:true in moveChunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.3, 3.7.1
    • Querying
    • None
    • Fully Compatible
    • ALL
    • v3.6
    • Query 2018-01-15
    • 0

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: