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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5
    • Affects Version/s: None
    • Component/s: None
    • None

      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

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

              Created:
              Updated:
              Resolved: