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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 Girbal (Inactive)
              Reporter:
              Antoine Girbal (Inactive)
              None
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: