You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benedict (JIRA)" <ji...@apache.org> on 2015/01/28 16:09:35 UTC

[jira] [Assigned] (CASSANDRA-8698) Refactor reference use in StreamTransferTask et al. to make safety obvious

     [ https://issues.apache.org/jira/browse/CASSANDRA-8698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benedict reassigned CASSANDRA-8698:
-----------------------------------

    Assignee: Benedict

> Refactor reference use in StreamTransferTask et al. to make safety obvious
> --------------------------------------------------------------------------
>
>                 Key: CASSANDRA-8698
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8698
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Benedict
>            Assignee: Benedict
>            Priority: Minor
>              Labels: Correctness
>             Fix For: 3.0
>
>
> Follow up to Safer Resource Management (CASSANDRA-7705). Since here we don't encapsulate our ref use in a try-with-resources block, we do some manual munging to try to ensure we don't drop any references. We can do better, and make this part of the functionality offered by Refs. At the same time, we should assess the way references are obtained in SSTableLoader.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)