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

FetchMetrics failure on restart of opensearch [ISSUE] #472

Open
meghana-rajashekar opened this issue Mar 15, 2023 · 0 comments · May be fixed by #499
Open

FetchMetrics failure on restart of opensearch [ISSUE] #472

meghana-rajashekar opened this issue Mar 15, 2023 · 0 comments · May be fixed by #499
Assignees
Labels
bug Something isn't working

Comments

@meghana-rajashekar
Copy link
Collaborator

Description

When scale_down is triggered, the Opensearch service is stopped and checked for cluster status. But if the scaling_manager's Fetch Metrics is trying to access OS for pushing the data at that point, it might PANIC and cause an application failure.

Suggested solutions:

  1. Add retry mechanism for opensearch connection
  2. Do not PANIC in FetchMetrics. Just log an error and continue
@meghana-rajashekar meghana-rajashekar added the bug Something isn't working label Mar 15, 2023
@meghana-rajashekar meghana-rajashekar self-assigned this Mar 15, 2023
@meghana-rajashekar meghana-rajashekar linked a pull request Mar 21, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant