[infinispan-issues] [JBoss JIRA] (ISPN-11014) Query returns wrong "total_count"

Gustavo Fernandes (Jira) issues at jboss.org
Mon Dec 2 06:55:00 EST 2019


    [ https://issues.jboss.org/browse/ISPN-11014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13819573#comment-13819573 ] 

Gustavo Fernandes commented on ISPN-11014:
------------------------------------------

To help troubleshooting the issue, is this a temporary issue, meaning if you do the query again it will have 1 hit in the result, or does it return the same response again? Also, could you tell if you could be deleting data from the cache while simultaneously doing the query? 

> 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