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 15:24:34 UTC

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

Benedict created CASSANDRA-8698:
-----------------------------------

             Summary: 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
            Priority: Minor
             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)