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

Observable race condition calling onComplete

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.8.2, 3.9.0
    • Affects Version/s: None
    • Component/s: Async
    • Labels:
      None

      A race condition has been identified where results are returned to the callback, completed is set to true and a call to request(n) comes in on another thread at the same time that calls onComplete before the callback result is passed to onNext.

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: