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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Labels:
      None
    • # Replies:
      2
    • Last comment by Customer:
      true

      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

            • Assignee:
              antoine Antoine Girbal
              Reporter:
              antoine Antoine Girbal
              Participants:
              Last commenter:
              Rathi Gnanasekaran
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                7 years, 37 weeks, 3 days ago
                Date of 1st Reply: