graphprotocol / graphprotocol/graph-node
[Feature] Allow for both pruned and unpruned versions to be live simultaneously
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Rust
- Sterne
- 3.2k
- Forks
- 1.1k
- Ø Merge
- 4 T. 1 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
Description
As the title suggests, allow for both pruned and unpruned versions to be live simultaneously.
This means I have Subgraph X which will be living in two different forms - pruned and unpruned.
The most important thing needs to be that both should be accessible based on query needs, simultaneously.
If the block/data range queried falls inside the pruned version range, send queries to it.
If not, send the historical queries to the unpruned version.
This has to be done with zero input from the infrastructure operator.
Are you aware of any blockers that must be resolved before implementing this feature? If so, which? Link to any relevant GitHub issues.
No response
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
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Es werden keine Dateien oder Tests genannt. Beginne damit, die vorhandenen Einstiegspunkte für das Query-Routing und die Auswahl der Subgraph-Version nachzuverfolgen, und ermittle dann, wie Blockbereiche zwischen gekürzten und ungekürzten Versionen auswählen können. Als erledigt gilt die Aufgabe, wenn beide Versionen gleichzeitig zugänglich bleiben, das Routing auf Grundlage des abgefragten Bereichs erfolgt und keine Eingabe durch Infrastrukturbetreiber erforderlich ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- graphql, rust
- Bereich
- api, backend
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 25/100