-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Some type of queries (likely aggregation) fail when they hit recently expired entries with lifespan. The error reported is:
java.lang.IllegalArgumentException: instance cannot be null.
It is possible to reproduce it
- starting from a cache configuration like the following:
<distributed-cache name="TEST_TASKS" owners="1" mode="SYNC" remote-timeout="17500" statistics="true"> <encoding> <key media-type="application/x-protostream"/> <value media-type="application/x-protostream"/> </encoding> <locking concurrency-level="1000" acquire-timeout="15000" striping="false"/> <expiration lifespan="-1"/> <memory storage="HEAP" max-count="1000"/> <persistence passivation="false"> <file-store purge="false" read-only="false"/> </persistence> <indexing enabled="true" storage="filesystem"> <indexed-entities> <indexed-entity>test.Task</indexed-entity> </indexed-entities> </indexing> <state-transfer timeout="60000"/> </distributed-cache>
- Add one entry to the cache, with LIFESPAN=30 secs
- Running some queries like:
select count(status) from test.Task t group by status
- links to