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

WriteResult.isUpdateOfExisting reports wrong value running against MongoDB 2.6

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.12.3, 3.0.0
    • 2.12.0
    • Write Operations
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: