OpenSearch/core
Jason Tedor 3d82549d8e Avoid stack overflow in multi-search
Today when handling a multi-search request, we asynchornously execute as
many search requests as the minimum of the number of search requests in
the multi-search request and the maximum number of concurrent
requests. When these search requests return, we poll more search
requests from a queue of search requests from the original multi-search
request. The implementation of this was recursive, and if the number of
requests in the multi-search request was large, a stack overflow could
arise due to the recursive invocation. This commit replaces this
recursive implementation with a simple iterative implementation.

Relates #23527
2017-03-09 15:19:05 -08:00
..
licenses Upgrade to lucene-6.5.0-snapshot-d00c5ca (#23385) 2017-02-27 18:39:04 +01:00
src Avoid stack overflow in multi-search 2017-03-09 15:19:05 -08:00
build.gradle Upgrade HDRHistogram to 2.1.9 (#23254) 2017-02-21 08:50:26 +01:00