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

Make StreamReceiveTask thread safe and GC friendly

    XMLWordPrintableJSON

Details

    • Low

    Description

      StreamReceiveTask is not thread safe when stream session is aborted and completion task is running.
      Also, StreamReceiveTask keeps references to SSTableWriter until completion task runs and session completes. Currently, StreamReceiveTask's completion task runs on StorageService's NonPeriodicTask and it may take longer to execute.

      Patch attached to fix above.

      Attachments

        Activity

          People

            yukim Yuki Morishita
            yukim Yuki Morishita
            Yuki Morishita
            Benedict Elliott Smith
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: