opensearch-sdk-java icon indicating copy to clipboard operation
opensearch-sdk-java copied to clipboard

[FEATURE] Establish periodic polling of extensions to verify connectivity

Open dbwiddis opened this issue 2 years ago • 2 comments

Is your feature request related to a problem?

Part of #356

What solution would you like?

Establish periodic polling of extensions to verify connectivity (both ways)

  • Add retry on startup (exponential fallback)
  • Allow user to configure auto-restart

dbwiddis avatar Jan 24 '23 05:01 dbwiddis

Some thoughts here: OpenSearch nodes uses transport protocol and when a node dies, it gets notified instantly. We could do something similar for extensions.

saratvemulapalli avatar Jan 24 '23 17:01 saratvemulapalli

Some thoughts here: OpenSearch nodes uses transport protocol and when a node dies, it gets notified instantly. We could do something similar for extensions.

Definitely a good add-on, but this also needs to handle the use case of OpenSearch starting up, and the extension not being (yet) available (i.e., no connection exists to "die").

dbwiddis avatar Jan 30 '23 16:01 dbwiddis