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

Race condition when closing stream sessions (4.0)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 4.0
    • Component/s: None
    • Labels:
      None
    • Severity:
      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

              • Assignee:
                jasobrown Jason Brown
                Reporter:
                jasobrown Jason Brown
                Authors:
                Jason Brown
                Reviewers:
                Blake Eggleston
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: