Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-13852

Race condition when closing stream sessions (4.0)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-alpha1, 4.0
    • None
    • None
    • Normal

    Description

      bootstrap_test:TestBootstrap.manual_bootstrap_test is hanging due to a race condition that can occur when waiting for a streaming COMPLETE message and the remote side has already closed the connection. We do not check to see if we still have remaining bytes buffered for consumption in RebufferringByteBufDataInputPlus, but always go ahead and throw an EOFException. We should consume the bytes, then throw an EOFException on subsequent calls.

      Attachments

        Issue Links

          Activity

            People

              jasobrown Jason Brown
              jasobrown Jason Brown
              Jason Brown
              Blake Eggleston
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: