Skip to content

refactor(reasm): key reasm FECs by merkle root and rework tile root init #5903

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

Merged
merged 1 commit into from
Aug 8, 2025

Conversation

lidatong
Copy link
Member

@lidatong lidatong commented Aug 1, 2025

fd_reasm (formerly fd_fec_chainer) now keys all FEC sets by merkle root.
Every FEC set's parent is determined from the chained merkle root tied
to every FEC set.

@lidatong lidatong force-pushed the chali/refactor/chainer-reasm branch 3 times, most recently from 5c983e6 to e9df86a Compare August 7, 2025 15:54
@lidatong lidatong changed the title refactor(reasm): change reasm (fka chainer) to key FECs by merkle root refactor(reasm): key reasm FECs by merkle root and rework tile root init Aug 7, 2025
@lidatong lidatong force-pushed the chali/refactor/chainer-reasm branch from e9df86a to 8277d64 Compare August 7, 2025 17:12
@lidatong lidatong marked this pull request as ready for review August 7, 2025 17:13
@lidatong lidatong force-pushed the chali/refactor/chainer-reasm branch 6 times, most recently from 26a940c to 0772a48 Compare August 8, 2025 14:54
fd_reasm (formerly fd_fec_chainer) now keys all FEC sets by merkle root.
Every FEC set's parent is determined from the chained merkle root tied
to every FEC set.

Tiles now rely on the manifest sent by snap_out to initialize their root
directly instead of relying on fseq set by replay.
@lidatong lidatong force-pushed the chali/refactor/chainer-reasm branch from 0772a48 to 795401b Compare August 8, 2025 14:56
done for the parent_map - the pool_ele will have an element with key
slot | fec_set_idx, not UINT_MAX.

Visually, the parent_map / elements looks like this:
Copy link
Contributor

Choose a reason for hiding this comment

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

i think this parent_map stuff is outdated now

fd_histf_sample( ctx->repair->metrics.store_link_wait, (ulong)fd_long_max(shacq_end - shacq_start, 0) );
fd_histf_sample( ctx->repair->metrics.store_link_work, (ulong)fd_long_max(shrel_end - shacq_end, 0) );

if( FD_UNLIKELY( ctx->shredcap_enabled ) ) {
Copy link
Contributor

Choose a reason for hiding this comment

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

is shredcap disabled with this?

@lidatong lidatong enabled auto-merge August 8, 2025 15:57
@lidatong lidatong added this pull request to the merge queue Aug 8, 2025
Merged via the queue into main with commit 89082f9 Aug 8, 2025
9 checks passed
@lidatong lidatong deleted the chali/refactor/chainer-reasm branch August 8, 2025 16:08
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