[
https://issues.apache.org/jira/browse/CASSANDRA-9919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maxim Muzafarov updated CASSANDRA-9919:
---------------------------------------
Epic Link: CASSANDRA-18090
> Cleanup closeable iterator usage
> --------------------------------
>
> Key: CASSANDRA-9919
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9919
> Project: Cassandra
> Issue Type: Improvement
> Components: Legacy/Core
> Reporter: Benedict Elliott Smith
> Priority: Normal
> Fix For: 4.x
>
>
> Our iterators are all sensibly AutoCloseable, but we still have a lot of
> places where we close the iterator if we reach the end in next() / hasNext().
> ThIs behaviour will only mask problems, as any exceptions in normal
> processing will miss these pathways. Since we much more heavily depend on
> iterators now, we need to be certain they are rock solid. So I would prefer
> we remove our crutches and work through any pain earlier.
> CASSANDRA-9918 can then help us catch any misuse more easily.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]