[
https://issues.apache.org/jira/browse/USERGRID-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
George Reyes resolved USERGRID-1051.
------------------------------------
Resolution: Fixed
The following way is the way to verify. Start up elasticsearch locally: set the
following settings
curl -XPUT http://localhost:9200/_cluster/settings -d '{
"transient": {
"threadpool.bulk.queue_size": 1,
"threadpool.index.queue_size": 1,
"threadpool.get.queue_size": 1,
"threadpool.search.queue_size": 0
},
"persistent": {
"threadpool.bulk.queue_size": 1,
"threadpool.index.queue_size": 1,
"threadpool.get.queue_size": 1,
"threadpool.search.queue_size": 0
}
}'
Then do a search query and verify that it returns 503.
> When ElasticSearch rejects a Search request Usergrid should not return 200 OK
> with an empty array
> -------------------------------------------------------------------------------------------------
>
> Key: USERGRID-1051
> URL: https://issues.apache.org/jira/browse/USERGRID-1051
> Project: Usergrid
> Issue Type: Story
> Components: query-index
> Affects Versions: 2.1.0
> Reporter: Jeffrey
> Assignee: George Reyes
>
> Currently if the search queue is full a 200 response is returned with an
> empty entity array.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)