-
Notifications
You must be signed in to change notification settings - Fork 981
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
Add ability to pause and resume subgraphs #4642
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far, some small comments
e795d7a
to
0f1ca0c
Compare
… wire it in subgraph startup
0f1ca0c
to
046dd41
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, this will be very useful
if I'm understanding this PR correctly, graphman directly interacts with postgres when pausing/resuming. Is that correct? If so, it would be great if this functionality was also exposed as an endpoint on the graph node itself so that other applications could use this feature. |
paused_at was added with graphprotocol/graph-node#4642, added in graph-node v0.32.0 Signed-off-by: Alexis Asseman <alexis@semiotic.ai>
paused_at was added with graphprotocol/graph-node#4642, added in graph-node v0.32.0 Signed-off-by: Alexis Asseman <alexis@semiotic.ai>
Closes #4255
subgraph_deployment_assignment
to includepaused_at
andassigned_at
pause
andresume
EntityChangeOperation::Set
andEntityChangeOperation::Remove