You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[perfnet] chaindata growth problem in EL backward downloader #15879
the EL backward downloader does not take into account --sync.loop.block.limit (defaults to 5,000 blocks) when doing long backward syncs
we need to modify the logic:
if a backward download header chain is 1024 in NewPayload - skip it and return syncing
the CL will eventually have to send a ForkChoiceUpdated request for that large backward chain if it is a legit one - within a FCU we allow long backward downloads
when doing these long backward downloads with FCU - we add logic to take into account --sync.loop.block.limit - so we insert blocks to chain data (in batches of 500 blocks as currently done) then when we reach 5,000 blocks inserted we call UpdateForkChoice to trigger execution + prunning (to keep chaindata size low)
Even with this fix however there was still unexplained chaindata growth - maybe due to issues in our prunning logic or something else to do with long held roTx for the in-mem memory mutation batch - stopped here need to continue debugging efforts but the above change to the EL backward downloader can be shipped irrespectively of this (the work can be split in 2 parts)
Activity
VBulikov commentedon Jul 1, 2025
taratorio added Imp2 as Importance
execution/bbd: el backward block downloader v2 (#16073)
execution/bbd: el backward block downloader v2 - add back (#16270)