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

Remove unnecessary synchronization in NettyStream

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.0.0
    • None
    • Connection Management
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: