Skip to content

Conversation

@attila0x2A
Copy link
Contributor

Basically by collecting everything once we can avoid querying and computing the same information several times (like computing whether we should apply chunk or getting chunk extra).
Also allows us to get rid of an expect for receipts existence.

While at it I also change get_update_shard_job to use #[instrument].

This is a follow-up to
#14190 (comment)

Basically by collecting everything once we can avoid querying and
computing the same information several times (like computing whether we
should apply chunk or getting chunk extra).
Also allows us to get rid of an expect for receipts existence.

While at it I also change get_update_shard_job to use #[instrument].

This is a follow-up to
near#14190 (comment)
@attila0x2A attila0x2A changed the title refactor(spice): collect per-shard application once in executor refactor(spice): collect per-shard data once when applying chunks Dec 12, 2025
@attila0x2A attila0x2A marked this pull request as ready for review December 12, 2025 16:14
@attila0x2A attila0x2A requested a review from a team as a code owner December 12, 2025 16:14
Copy link
Contributor

@darioush darioush left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a side note we may need to re-introduce the mode parameter when handling syncing.

@attila0x2A attila0x2A added this pull request to the merge queue Jan 2, 2026
Merged via the queue into near:master with commit 351bcc3 Jan 2, 2026
26 checks passed
@attila0x2A attila0x2A deleted the executor-refactor branch January 2, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants