Andres de la Peña created CASSANDRA-19961:
---------------------------------------------

             Summary: 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


{{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