[ 
https://issues.apache.org/jira/browse/CASSANDRA-8707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14312612#comment-14312612
 ] 

Benedict commented on CASSANDRA-8707:
-------------------------------------

I've pushed an update with a single mega comment at the head of sstablereader. 
I'm still not 100% sure I've either nailed all of the stuff that should be 
covered, or that it's clear, so please do criticise and point out places it 
could be improved. Obviously it will also get tweaks in all of the upcoming 
patches that modify its behaviour.

I took the liberty of backporting the new OpenReason MOVED_START since it helps 
with the docs as well.

> Move SegmentedFile, IndexSummary and BloomFilter to utilising RefCounted
> ------------------------------------------------------------------------
>
>                 Key: CASSANDRA-8707
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8707
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Benedict
>            Assignee: Benedict
>            Priority: Critical
>             Fix For: 2.1.3
>
>
> There are still a few bugs with resource management, especially around 
> SSTableReader cleanup, esp. when intermixing with compaction. This migration 
> should help. We can simultaneously "simplify" the logic in SSTableReader to 
> not track the replacement chain, only to take a new reference to each of the 
> underlying resources.



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

Reply via email to