cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-8698) Refactor reference use in StreamTransferTask et al. to make safety obvious
Date Thu, 12 Feb 2015 17:25:11 GMT

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

Benedict updated CASSANDRA-8698:
--------------------------------
    Assignee:     (was: 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
>            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)

Mime
View raw message