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

when getLastError() is called on a WriteResult, behavior has several flaws

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5
    • None
    • None
    • None

    Description

      1) call may return a cached result that is from a less strict concern, which is dangerous
      2) if concern param that is less strict than cached one, then the cached result should be returned, instead of making new getlasterror call

      Attachments

        Activity

          People

            antoine Antoine Girbal
            antoine Antoine Girbal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: