graphprotocol / graphprotocol/graph-node

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

Offen
#5,245 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

enhancement ops Stale
Vorherrschende Sprache
Rust
Sterne
3.2k
Forks
1.1k
Ø Merge
4 T. 1 Std.
Gemergte PRs (30 T.)
1

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit der Untersuchung der Konfigurationsverarbeitung, der API-Oberfläche und der CLI-Einstiegspunkte von graph-node; das Issue nennt keine spezifischen Dateien oder Tests. Lege vor der Implementierung fest, welche Konfigurationsaktualisierungen unterstützt werden und wie sich API-Aufrufe, CLI-Befehle oder auf SIGHUP basierende Neuladungen verhalten sollen, und füge anschließend Abdeckung für die ausgewählte Schnittstelle hinzu.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
rust
Bereich
api, backend, cli
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
20/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.