Broker Returns inconsistent results

Hi,

The broker returns inconsistent results for the same query. I’m using the latest off the master !

The indexing task does not have any metrics. It simply indexes the dimensions.

I have a simple groupBy query json as below:

{
“queryType”: “groupBy”,
“dataSource”: “”,
“granularity”: “all”,
“dimensions”: [“userbrowser.name1”],
“aggregations”:[
{“type”:“count”, “name”:“search-terms”}
],
“intervals”:[“2001-05-17T00/2018-05-31T00”]
}

``

The curl commands were run continuously !

curl -sX POST “<MASKED>” -H ‘content-type: application/json’ -d @/tmp/count-searchkeywords.json
[ {
“version” : “v1”,
“timestamp” : “2001-05-17T00:00:00.000Z”,
“event” : {
“userbrowser.name1” : null,
****“search-terms” : 141379
}
} ]
curl -sX POST “<MASKED>” -H ‘content-type: application/json’ -d @/tmp/count-searchkeywords.json
[ {
“version” : “v1”,
“timestamp” : “2001-05-17T00:00:00.000Z”,
“event” : {
“userbrowser.name1” : null,
****“search-terms” : 150002
}
} ]
curl -sX POST “<MASKED>” -H ‘content-type: application/json’ -d @/tmp/count-searchkeywords.json
[ {
“version” : “v1”,
“timestamp” : “2001-05-17T00:00:00.000Z”,
“event” : {
“userbrowser.name1” : null,
****“search-terms” : 158626
}
} ]
curl -sX POST “<MASKED>” -H ‘content-type: application/json’ -d @/tmp/count-searchkeywords.json
[ {
“version” : “v1”,
“timestamp” : “2001-05-17T00:00:00.000Z”,
“event” : {
“userbrowser.name1” : null,
****“search-terms” : 150000
}
} ]

``

As you could see **"search-terms" ** different counts are pumped by the broker for the same data source and the same interval nearly the same time.

Is this a bug?

Varaga