graphprotocol / graphprotocol/graph-node

[Feature] Allow loading configuration into graph-node on-the-fly

Open
#5,245 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement ops Stale
Dominant language
Rust
Stars
3.2k
Forks
1.1k
Avg merge
4d 1h
Merged PRs (30d)
1

Description

Description

We change the config in graph-node quite a bit. This currently means writing a config file and restarting the container. For enterprise level production services it is expected that we should not need to totally restart things. Injecting new configuration while running is a common practice since years.

For things that run under systemd or similar, sending a SIGHUP to reload configuration is normal way to do things.

For many other services they accept sending configuration updates via API calls.

I would propose that graph-node should accept all configuration updates by API call. The graph-node CLI should understand how to read and write this configuration.

Are you aware of any blockers that must be resolved before implementing this feature? If so, which? Link to any relevant GitHub issues.

No.

Some information to help us out
  • Tick this box if you plan on implementing this feature yourself.
  • I have searched the issue tracker to make sure this issue is not a duplicate.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining graph-node's configuration handling, API surface, and CLI entry points; the issue names no specific files or tests. Define the supported configuration updates and how API calls, CLI commands, or SIGHUP-based reloads should behave before implementation, then add coverage for the chosen interface.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api, backend, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.