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

findAndModify on unsharded coll vs. sharded coll returns different results

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • ALL

      findAndModify where the update has already been done
      Replica set returned:

      "lastErrorObject" : { "n" : 1, "updatedExisting" : true },

      mongos on unsharded collection returned:

      "lastErrorObject" : { "n" : 1, "updatedExisting" : true },

      mongos on sharded cluster returned:

      "lastErrorObject" : { "n" : 0, "updatedExisting" : false },

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            israel.hsu@mongodb.com Israel Hsu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: