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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Write Ops
    • Labels:
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: