You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "C. Scott Andreas (JIRA)" <ji...@apache.org> on 2018/11/18 18:20:00 UTC

[jira] [Updated] (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 ]

C. Scott Andreas updated CASSANDRA-8698:
----------------------------------------
    Component/s: Streaming and Messaging

> 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: Streaming and Messaging
>            Reporter: Benedict
>            Priority: Minor
>              Labels: Correctness
>             Fix For: 4.x
>
>
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org