Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1287

WriteResult.isUpdateOfExisting reports wrong value running against MongoDB 2.6

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.12.3, 3.0.0
    • Affects Version/s: 2.12.0
    • Component/s: Write Operations
    • None

      Running against MongoDB 2.6, WriteResult.isUpdateOfExisting reports wrong value for an update that does not modify any documents. While it does report n = 0, it reports updateOfExisting = true, and it should be false.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: