[go: up one dir, main page]

DAL: Clean the "orphan" levels in the store when attestation lag reduces

What

Edit remove_unattested_slots_and_shards to read the protocol parameters of previous level and clean the "orphan" levels if it reduced.

Why

Because otherwise some unused data would stay forever allocated.

How

Using the same method as Mohamed in !19466 (merged), the lag is shrinked one by one from the old to the new value.

Merge request reports

Loading