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

Catch error that could cause LeaderScheduler thread to crash #4850

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

graytaylor0
Copy link
Member

@graytaylor0 graytaylor0 commented Aug 20, 2024

Description

If the source coordination store has a dependency failure (i.e. 5xx from DynamoDB), then the LeaderScheduler thread crashes and will not continue shard discovery on the node, causing single-node pipelines to stop processing.

Issues Resolved

Resolves #4775

Check List

  • New functionality includes testing.
  • New functionality has a documentation issue. Please link to it in this PR.
    • New functionality has javadoc added
  • Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Taylor Gray <tylgry@amazon.com>
@graytaylor0 graytaylor0 merged commit 292a225 into opensearch-project:main Aug 21, 2024
46 of 47 checks passed
@graytaylor0 graytaylor0 deleted the DdbBug branch August 21, 2024 00:43
@graytaylor0 graytaylor0 mentioned this pull request Oct 23, 2024
4 tasks
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.

[BUG] DynamoDB Leader Thread can crash if it fails to save state for the leader partition
3 participants