[infinispan-issues] [JBoss JIRA] (ISPN-11014) Query returns wrong "total_count"
Jens Reimann (Jira)
issues at jboss.org
Mon Dec 2 07:06:02 EST 2019
[ https://issues.jboss.org/browse/ISPN-11014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13819581#comment-13819581 ]
Jens Reimann commented on ISPN-11014:
-------------------------------------
Re-running the query will return the same result over and over again. Also using the HotRod client. Exactly the same result: 9 entries.
{quote}Also, could you tell if you could be deleting data from the cache while simultaneously doing the query? {quote}
I am not sure what you mean by that. The process does 1) query 2) delete. No other process does access the data in the meantime.
> Query returns wrong "total_count"
> ---------------------------------
>
> Key: ISPN-11014
> URL: https://issues.jboss.org/browse/ISPN-11014
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Querying
> Affects Versions: 10.0.1.Final
> Reporter: Jens Reimann
> Assignee: Gustavo Fernandes
> Priority: Major
> Attachments: infinispan.xml
>
>
> Doing a query returns a wrong "total_results" value:
> {code:java}
> oc -n enmasse-infra rsh infinispan-0 curl 'http://app:test12@infinispan-0:11222/rest/v2/caches/devices?action=search&query=from+io.enmasse.iot.registry.infinispan.data.DeviceInformation+d&max_results=1'
> {
> "total_results" : 9,
> "hits" : [ ]
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list