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

Caleb Rackliffe commented on CASSANDRA-19961:
---------------------------------------------

This has been used in test code in {{SAIRandomizedTester}} for some time, and 
I'm not sure if it was ever intended for production use?

> SAI's IndexInputLeakDetector is not correctly tracking index inputs
> -------------------------------------------------------------------
>
>                 Key: CASSANDRA-19961
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19961
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Feature/2i Index
>            Reporter: Andres de la Peña
>            Priority: Normal
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {{TrackingIndexFileUtils}} has a mechanism to detect duplicated closures of 
> index file inputs, 
> [here|https://github.com/apache/cassandra/blob/trunk/test/unit/org/apache/cassandra/index/sai/disk/io/TrackingIndexFileUtils.java#L71].
>  
> However, this mechanism doesn’t seem to actuate, because no one calls 
> {{TrackingIndexFileUtils#openInput}} nor 
> {{TrackingIndexFileUtils.TrackedForwardingIndexInput#close}}, 
> [here|https://github.com/apache/cassandra/blob/trunk/test/unit/org/apache/cassandra/index/sai/utils/IndexInputLeakDetector.java#L43].



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to