Hi,
I've just upgraded my elastic stack from 1.5 to 2.4 and experienced some problems with the filter elasticsearch.
After some tests, I finally realized that it was linked to the number of workers used. The problem only appears when using multiple workers (which is the default behaviour in 2.4).
The error is
error=>#<Elasticsearch::Transport::Transport::Error: Cannot get new connection from pool.
During my tests, I always used the same data to request my ES cluster and the errors appears randomly and are not linked to a special event/data
I tried to search the code of the plugin to closely isolate the cause and the problem seems to occur when the round-robin is selecting a connection in the array of hosts (function select of the RoundRobin class). So I tried to specify only one host but errors still happen.
Does someone experienced the same kind of error or have a clue on the origin of the problem to help me find a solution/forget about using multiple workers ?
Thanks for reading
GoYomE