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

[server] Reset current version replica to ERROR on ingestion error #1387

Merged
merged 8 commits into from
Dec 18, 2024

Conversation

majisourav99
Copy link
Contributor

@majisourav99 majisourav99 commented Dec 12, 2024

Reset current version replica to ERROR on ingestion error

For hybrid stores whose current version is ingesting the real time data from a real time topic, if there is any exception/error thrown during ingestion they would log error message, sit still and stop ingestion, resulting in stale replicas.
The mitigation mechanism is for oncall to manually restart every impacted cluster, which is very labor-intensive.
This PR tries to resolve that by marking such replicas to ERROR state, which later in a controller task to reset such error replicas, will try to initiate new state transition of those replicas which can possibly mitigate such stale replica issue.

How was this PR tested?

GHCI

Does this PR introduce any user-facing changes?

  • No. You can skip the rest of this section.
  • Yes. Make sure to explain your proposed changes and call out the behavior change.

@majisourav99 majisourav99 changed the title [server] Reset current version replica to ERROR on ingestion ERROR [server] Reset current version replica to ERROR on ingestion error Dec 12, 2024
@majisourav99 majisourav99 merged commit 543f65c into linkedin:main Dec 18, 2024
56 checks passed
@majisourav99 majisourav99 deleted the helixError branch December 18, 2024 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants