Skip to content

fix elasticsearch connection errors

Mykyta Savchuk requested to merge elasticsearch-connection-errors into master

This MR consists of several elasticsearch connection error fixes:

  1. Set connection time to live to fix ConnectionClosedException and SocketTimeoutException. Link to the issue with detailed description: #205
  2. Remove try catch with resources from RestClientTransport, because since ElasticsearchClient is reused now, once underlying RestClientTransport is closed, ElasticsearchClient can't be used anymore and throws CancellationException.
  3. Make elasticsearch client cache size configurable.
Edited by Mykyta Savchuk

Merge request reports

Loading