Add methods to check if the query requires traces/statediffs NET-433 - #67
Merged
Conversation
Contributor
|
what problem does it solve? i think it's not smth common for us to have both tracefull and traceless at the same time |
Contributor
Author
|
Please see the description at https://linear.app/sqd-ai/issue/NET-433/support-traceless-hotblocks I see it as the simplest option to provide better latency for EVM datasets. If it helps, we can think about a storage-level redesign to avoid duplication See also: subsquid/sqd-portal#100 |
dzhelezov
added a commit
to dzhelezov/data
that referenced
this pull request
Aug 11, 2026
…trands, honest retry counting, replay-safe finality log F67-3: perform_dataset_compaction now abandons the tables it already materialized when the transaction does not commit its chunk (Canceled or retry-exhausted), mirroring WriteController::abandon_tables on the ingest path. A lost compaction race previously stranded an orphan DIRTY_TABLES marker that pins the reclaim watermark until the next restart, one per lost race while hotblocks re-attempts compaction every minute. Adds a racing- compaction orphan-probe test (fails pre-fix: one orphan dirty marker). F67-4: count a retry restart only once a replacement transaction is actually created. A run terminated by the post-backoff deadline check never re-ran the callback, so counting it earlier inflated restart/attempt telemetry with attempts that never happened. F67-5(b): racing_writers bars both writers behind a barrier and asserts a real restart delta, so "consistent under contention" cannot pass vacuously on a run that never actually contended. F67-7: the "finalized head was ignored" decision is returned from the retryable new_chunk closure and logged once post-commit, instead of being emitted inside the closure where an optimistic-transaction replay duplicates it once per conflict attempt. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It can be used to route queries to traceless versions of the datasets in the portal