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

[IMPROVEMENT] Reduce calls to /_all/_alias/{aliases} #532

Open
Xtansia opened this issue Nov 26, 2024 · 0 comments
Open

[IMPROVEMENT] Reduce calls to /_all/_alias/{aliases} #532

Xtansia opened this issue Nov 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Xtansia
Copy link
Collaborator

Xtansia commented Nov 26, 2024

Is your feature request related to a problem?

The connector always makes a call to /_all/_alias/{resouce_name} on every read or write task attempt to determine if the provided resource name is actually an index name or is an alias.
This causes deprecation logging on the OS server side as _all will match system indices.

What solution would you like?

Options:

  • Add in-memory caching of results, based on time period, to reduce frequency of calls.
  • Improve API usage to avoid matching system indices.
  • Allow forcing index treatment via setting, not helpful for case where resource is an alias
@Xtansia Xtansia added the enhancement New feature or request label Nov 26, 2024
@Xtansia Xtansia removed the untriaged label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant