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

graphman: pause subgraph before reassigning #5256

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

roaminro
Copy link

Resolves #5253

The subgraph being reassigned is now paused if it wasn't and is then resumed once the reassigment process is complete.

@lutter
Copy link
Collaborator

lutter commented Apr 15, 2024

Sorry this has been sitting for so long.

I think the change is totally fine, but I am curious if that really addresses the problem in practice - my experience has been that it can take a while for a subgraph to actually process the pause request. Have you seen that? Do you still get a race when that happens?

The basic issue is that the current mechanism for handling assignments doesn't provide a reliable way to say "node x is done with a subgraph so node y can start working on it" which opens the dorr to these races.

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.

graphman reassign should pause the subgraph first
2 participants