[
https://issues.apache.org/jira/browse/CASSANDRA-8707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14309226#comment-14309226
]
Benedict commented on CASSANDRA-8707:
-------------------------------------
bq. As I said, I'll walk over the code properly and explain the parts I
struggled with.
Thanks. I do want the code to be clear, and would also like to contribute to
that where I am able, so if there are specific things you think I can elaborate
on better, please do point me to them and leave it to me.
Like you say, the code is made up of a lot of individually obvious things, that
aren't obvious as a whole, and I've been lost in the weeds long enough to not
be able to tell the difference between the two.
> 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)