Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locking field-paths for data consistency #25

Open
1 task
0xMochan opened this issue May 26, 2023 · 0 comments
Open
1 task

Locking field-paths for data consistency #25

0xMochan opened this issue May 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@0xMochan
Copy link
Collaborator

0xMochan commented May 26, 2023

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
@0xMochan 0xMochan added the enhancement New feature or request label May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant