Skip to content

Commit

Permalink
feat(resharding): delay split shard of flat store until resharding bl…
Browse files Browse the repository at this point in the history
…ock is final (#12415)

Contents of this PR:
- New features
- Actual splitting of flat storage is delayed until the target
resharding block becomes final
- Scheduled resharding event can be overridden. This makes resharding
work in many chain fork scenarios (not all of them though)
- Added `FlatStorageReshardingTaskSchedulingStatus` to express the
current state of scheduled tasks waiting for resharding block finality
- Changes
- Shard catchup doesn't wait anymore for resharding block finality. It
is now a consequence of the fact that the shard split happens on a final
block.
- `FlatStorageReshardingTaskStatus` renamed into
`FlatStorageReshardingTaskResult` for clarity
  - `ReshardingActor` now takes care of re-trying "postponed" tasks.



Part of #12174
  • Loading branch information
Trisfald authored Nov 11, 2024
1 parent f99bb96 commit ba0b237
Show file tree
Hide file tree
Showing 5 changed files with 567 additions and 272 deletions.
Loading

0 comments on commit ba0b237

Please sign in to comment.