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

Make StreamReceiveTask thread safe and GC friendly

    XMLWordPrintableJSON

    Details

    • Severity:
      Low
    • Since Version:

      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

            • Assignee:
              yukim Yuki Morishita
              Reporter:
              yukim Yuki Morishita
              Authors:
              Yuki Morishita
              Reviewers:
              Benedict Elliott Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: