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

Add json-rpc api support for dropping subgraphs #5651

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

Conversation

mangas
Copy link
Contributor

@mangas mangas commented Sep 29, 2024

Add json-rpc method for dropping subgraphs. Using this endpoint will remove all the subgraphs for the deployment_id and will delete the underlying data. docker/bin/drop is a helper script to use the new endpoint

@alex-pakalniskis
Copy link

Perhaps explore Indexer Agent-based solution to avoid graphman drop danger zone?

@mangas
Copy link
Contributor Author

mangas commented Oct 7, 2024

Perhaps explore Indexer Agent-based solution to avoid graphman drop danger zone?

Not sure I understand the argument here. This is a private endpoint, it's as dangerous as letting someone add subgraphs unboundedly and fill up the disks, taking down the graph-node. It is also a basic operational task that currently cannot be automated because it's not exposed in any api.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants