ElasticSearch retry vs failure exceptions


(Mike G) #1

Which ElasticSearch (Java Transport Client) exceptions would be valid retry scenarios? By retry, I mean if encounter an error when writing a document or batch of documents to ES. The three obvious ones (at least seem obvious) are:

  • NoNodeAvailableException
  • ElasticsearchTimeoutException
  • ReceiveTimeoutTransportException

For Failures (no retry) I have these two:

  • ElasticsearchParseException
  • ElasticsearchException

What other exceptions would be considered to be retry exceptions?

Any info is greatly appreciated. Thanks!


(system) #2