Details
Description
We are using apache ignite with reactor-core and since reactors upgrade from 3.2.12 to 3.3.3
org.apache.ignite.internal.processors.query.QueryKeyValueIterable.iterator
is called multiple times. It starts with:
1. calling iterable.spliterator().hasCharacteristics(Spliterator.SIZED), where iterable is instanceof QueryKeyValueIterable
2. calls default implementation Spliterators.spliteratorUnknownSize(iterator(), 0)
3. which in turn calls ignite's QueryKeyValueIterable.iterator() call and that "uses it up" for subsequent calls, i.e. throw IgniteException "Iterator is already fetched or query was cancelled."