]
Marko Lukša updated ISPN-2206:
------------------------------
Git Pull Request:
Query returns nulls if cache entries were removed and transaction is
still not commited
---------------------------------------------------------------------------------------
Key: ISPN-2206
URL:
https://issues.jboss.org/browse/ISPN-2206
Project: Infinispan
Issue Type: Bug
Components: Querying
Affects Versions: 5.2.0.ALPHA1
Reporter: Marko Lukša
Assignee: Sanne Grinovero
When using indexLocalOnly=true, the Lucene index is updated when the transaction is
commited.
After removing an entry from the cache (and before commiting the transaction), queries
will still match the entry, but since the entry is no longer in the cache, the list
returned by the query will contain a null value.
This forces clients to always check whether elements of the collection returned by
queries are null.
IMO, Ispan-query should handle this and simply skip the entries that were matched in the
index, but are no longer in the cache.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: