You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Caleb Rackliffe (Jira)" <ji...@apache.org> on 2024/09/27 15:39:00 UTC
[jira] [Commented] (CASSANDRA-19961) SAI's IndexInputLeakDetector is not correctly tracking index inputs
[ 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org