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

[META] Add ability to add/update/remove an extension without restarting OpenSearch #356

Open
4 tasks
dbwiddis opened this issue Jan 24, 2023 · 0 comments
Open
4 tasks
Labels
enhancement New feature or request Meta

Comments

@dbwiddis
Copy link
Member

dbwiddis commented Jan 24, 2023

Is your feature request related to a problem?

One of the goals of extensibility is the ability to add/update/remove an extension without restarting the OpenSearch node.

From #2447:

What would the customer like to see/use:
c. Install/Update/Remove an extension without restarting OpenSearch.

Present design does not permit this:

  • The extension discovery mechanism requires extensions to already be up and running before OpenSearch is started
  • There is no mechanism to retry a failed connection, or to periodically poll an extension to ensure it is responsive
  • Many of the modules associated with plugins assume a one-time initialization at startup with final, immutable data structures
  • Other modules and data structures permit additive registration (e.g, the RestController, Settings, XContent) but do not permit "unregistering"
    • This problem will only get bigger when we add more extension points

What solution would you like?

What alternatives have you considered?

Creating an external process that manages the extensions (an extension managing extensions!)

Do you have any additional context?

Previously mentioned in #174

@dbwiddis dbwiddis added enhancement New feature or request Meta labels Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Meta
Projects
None yet
Development

No branches or pull requests

1 participant