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

idhack_sharded.js should use _waitForDelete:true in moveChunk

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.3, 3.7.1
    • Component/s: Querying
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.6
    • Sprint:
      Query 2018-01-15
    • Linked BF Score:
      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

            Assignee:
            tess.avitabile Tess Avitabile
            Reporter:
            tess.avitabile Tess Avitabile
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: