graphprotocol / graphprotocol/graph-node
[Bug] `graphman copy list` can fail
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
Bug report
When the destination (maybe also the source) of a copy operation becomes unused but has not been removed yet, graphman copy list will fail with an error Error: store error: NotFound
The code should take this corner case into account.
Relevant log output
------------------------------------------------------------------------------
deployment | Qm...
action | sgd1 -> sgd2 (shardx)
Error: store error: NotFound
Some information to help us out
- Tick this box if this bug is caused by a regression found in the latest release.
- Tick this box if this bug is specific to the hosted service.
- I have searched the issue tracker to make sure this issue is not a duplicate.
OS information
None
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
Beginnen Sie mit dem Befehl graphman copy list und reproduzieren Sie den gemeldeten Fehler store error: NotFound, wenn ein Kopierziel nicht verwendet wird, aber weiterhin vorhanden ist. Verfolgen Sie, wie der Befehl die Quell- und Ziel-Stores nachschlägt, fügen Sie Tests für diesen Sonderfall hinzu und bestätigen Sie, dass der Befehl die Kopie auflistet, ohne fehlschlagen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- rust
- Bereich
- cli
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100