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

operator: adjust state transition rules to ensure 'running' state always accounted for in db #1989

Merged
merged 4 commits into from
Aug 5, 2024

Conversation

ikreymer
Copy link
Member

@ikreymer ikreymer commented Aug 2, 2024

don't rely on current status, always set state to running when running to ensure idempotency in case of multiple calls

- allow switching to 'running' state from any running + waiting state to address edge-cases
where db gets out of sync on 'waiting_capacity' while crawler is actually running
@ikreymer ikreymer requested a review from tw4l August 2, 2024 22:11
@ikreymer ikreymer merged commit 4a2725a into main Aug 5, 2024
4 checks passed
@ikreymer ikreymer deleted the running-relax-state-transition branch August 5, 2024 23:00
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