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

Jacek Lewandowski updated CASSANDRA-18840:
------------------------------------------
          Fix Version/s: 5.0
                         5.1
                             (was: 5.x)
          Since Version: 5.0-alpha1
    Source Control Link: 
https://github.com/apache/cassandra/commit/15f355a0062148e1ca511e8fc515e0cba380790d
             Resolution: Fixed
                 Status: Resolved  (was: Ready to Commit)

> 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.0, 5.1
>
>          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

Reply via email to