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

UpdateResult::mod always set to 0 when _id doesn't match anything

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Write Ops
    • ALL

    Description

      AFAICT, mod should be 1 if it's a $-mod update, whether or not it finds a doc to mod. _updateById sets mod to 0 indiscriminately if the _id is not found.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kristina Kristina Chodorow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: