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

Handle pin failures during consolidation to prevent stuck staging zones #655

Merged

Conversation

neelvirdy
Copy link
Contributor

@neelvirdy neelvirdy commented Dec 6, 2022

Handle pin failures during consolidations by removing the failed contents from the staging zone and unmarking it as consolidating, so the staging worker will retry consolidation without the failed contents on the next interval.

Also, prevent staging zones from getting stuck in consolidating when the take content command doesn't even get successfully sent to the shuttle.

cmd/estuary-shuttle/rpc.go Outdated Show resolved Hide resolved
cmd/estuary-shuttle/rpc.go Outdated Show resolved Hide resolved
cmd/estuary-shuttle/rpc.go Outdated Show resolved Hide resolved
cmd/estuary-shuttle/rpc.go Outdated Show resolved Hide resolved
@neelvirdy neelvirdy changed the title Recover consolidation when taking a content intermittently fails Handle pin failures during consolidation to prevent stuck staging zones Dec 6, 2022
Copy link
Contributor

@en0ma en0ma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@LucRoy LucRoy merged commit 18f11f6 into application-research:dev Dec 6, 2022
@neelvirdy neelvirdy deleted the nvirdy/consolidation-recovery branch December 6, 2022 16:58
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.

None yet

3 participants