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

snapshots: queries refactoring #2625

Merged
merged 8 commits into from
Jan 7, 2025
Merged

snapshots: queries refactoring #2625

merged 8 commits into from
Jan 7, 2025

Conversation

battlmonstr
Copy link
Contributor

@battlmonstr battlmonstr commented Dec 26, 2024

  • switch names: Query -> SegmentQuery, MultiQuery -> Query
  • simplify TransactionBlockNumByTxnHashMultiQuery to follow a "multi-bundle query" pattern
  • SnapshotRepository read-only interface for queries
  • multi-bundle queries: FindMapQuery, FindByTimestampMapQuery
  • access_layer DataModel refactoring to use multi-bundle queries
  • refactor RecSplitIndex ordinal lookup: improve type safety and naming
  • non-null EliasFanoDecoder value
  • KVSegmentValuesReader

@battlmonstr battlmonstr added snapshots Framework for BitTorrent-based snapshots erigon3 Erigon3 feature labels Dec 26, 2024
@battlmonstr battlmonstr force-pushed the pr/sn_queries branch 2 times, most recently from 290e814 to d4644d0 Compare December 30, 2024 14:27
@battlmonstr battlmonstr requested a review from canepat December 30, 2024 14:28
@battlmonstr battlmonstr force-pushed the pr/sn_queries branch 3 times, most recently from 9515f59 to 081a489 Compare December 31, 2024 12:35
@battlmonstr battlmonstr marked this pull request as ready for review December 31, 2024 12:51
@battlmonstr battlmonstr merged commit e98a2d7 into master Jan 7, 2025
5 checks passed
@battlmonstr battlmonstr deleted the pr/sn_queries branch January 7, 2025 17:46
@canepat canepat mentioned this pull request Jan 7, 2025
41 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
erigon3 Erigon3 feature snapshots Framework for BitTorrent-based snapshots
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants