[ https://issues.apache.org/jira/browse/CASSANDRA-18840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacek Lewandowski updated CASSANDRA-18840: ------------------------------------------ Reviewers: Stefan Miklosovic, Jacek Lewandowski Stefan Miklosovic, Jacek Lewandowski (was: Jacek Lewandowski, Stefan Miklosovic) Status: Review In Progress (was: Patch Available) > Leakage of references to SSTable on unsuccessful operations > ----------------------------------------------------------- > > Key: CASSANDRA-18840 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18840 > Project: Cassandra > Issue Type: Bug > Components: Local/SSTable > Reporter: Stefan Miklosovic > Assignee: Jacek Lewandowski > Priority: Normal > Fix For: 5.x > > Time Spent: 50m > Remaining Estimate: 0h > > This is a little bit tricky to describe correctly as I can talk about the > symptoms only. I hit this issue when testing CASSANDRA-18781. > In a nutshell, when we go to bulkload an SSTable, it opens it in > SSTableLoader. If bulkloading fails on server side and exception is > propagated to the client, on releasing of references, it fails on this assert > (1). This practically means that we are leaking resources as something still > references that SSTable but it was not tidied up (on failure). On a happy > path, it is all de-referenced correctly. > I think that this might have implications beyond SSTable loading, e.g. this > could happen upon streaming too. > (1) > https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/io/sstable/SSTableLoader.java#L245 -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org