0xPlaygrounds / 0xPlaygrounds/subgrounds

Locking field-paths for data consistency

Offen
#25 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Python
Sterne
73
Forks
12
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**Is your feature request related to a problem? Please describe.**
When doing long queries, data gathered towards the end of the query is no longer consistent with the beginning.

**Describe the solution you'd like**
I'd like to ensure data consistency through some form of argument locking.

**Describe alternatives you've considered**
Not making long queries.

**Additional context**
“Lock” fieldpaths (i.e.: add `"block": {"number": end_block}` and `"where {"_change_block": {"number_gte": start_block}}`
- Basically, locking block ranges so that the data accrued is atomic even if new blocks are indexed come in

**Implementation checklist**
- [ ] Task 1

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

The issue mentions adding locking field-paths for data consistency in long queries. Look at the GraphQL query handling code in subgrounds, likely in query builders or data fetching modules. Understand how block ranges are currently handled and where to inject locking logic. Check existing tests for query execution to see how to verify atomicity across blocks.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
blockchain, graphql, python
Bereich
backend, data-engineering, databases
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

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