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

Remove unnecessary synchronization in NettyStream

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.0
    • Affects Version/s: None
    • Component/s: Connection Management
    • Labels:
      None

      NettyStream has been observed getting into deadlocks when multiple items call stream.writeAsync - notably ParallelCollectionScanOperationSpecification.should visit all documents asynchronously would consistently lock.

      I removed the synchronization requirements round it the readAsync and writeAsync methods and but the new approach code needs reviewing.

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

              Created:
              Updated:
              Resolved: