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

agent,common: Migrate subgraph deployment assignments to use explicit 'paused' mechanism #868

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

fordN
Copy link
Contributor

@fordN fordN commented Mar 8, 2024

Graph-node recently added support for explicit pausing of subgraph deployments (in the past they were paused virtually by assigning the deployment to a nonexistent node).

This PR adds a migration that interacts with the Graph Node indexingStatuses query and JSON-RPC server to update all virtually paused deployments (node = 'removed') to use the new explicit pausing mechanism.

@fordN fordN added the enhancement New feature or request label Mar 8, 2024
@fordN fordN self-assigned this Mar 8, 2024
@fordN fordN force-pushed the ford/deployments-use-pause-mechanism branch from f1b5e4d to ee224d8 Compare March 8, 2024 19:51
- Use subgraph_pause JSON-RPC method instead of subgraph_reassign, which
explicitly pauses subgraph instead of virtually pausing it by moving
it to a non-existent index node
@fordN fordN force-pushed the ford/deployments-use-pause-mechanism branch from db0c741 to e631b87 Compare March 8, 2024 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

None yet

1 participant