Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed bug when using multi percolate api with routing #9161

Merged

Commits on Jan 7, 2015

  1. Fixed a bug that was caused by specifying routing on a multi percolat…

    …e request causing an ArrayIndexOutOfBoundsException.
    
    The multi percolate shard responses are collected in an atomic array which uses the shard id is used as index, but the number of shards the multi percolate request was meant to go to was used as size of this array instead the total number of shards an index has. This caused the exception when routing was used.
    
    Closes elastic#6214
    martijnvg committed Jan 7, 2015
    Copy the full SHA
    c94d056 View commit details
    Browse the repository at this point in the history