[marshal] Syncing blocks across epochs #2210
-
|
Hi all, I see a potential issue with this: In marshal, if a finalize or notorize is received for an epoch that is not yet available in the scheme provider, it will respond Am I missing something here, and if not, are there plans to support this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
🙏 🙏 🙏 (all mechanisms will shortly support all schemes: #2220)
This is already supported in monorepo/examples/reshare/src/orchestrator/actor.rs Lines 200 to 242 in 8a1f604 Basically, current validators observe a message from someone in an old epoch and send the boundary finalization to that player (which allows them to finish the epoch). Note: this only works when doing a full sync. We plan to support something for state sync (where you just go to the
We avoid this sort of "optimistic storage" approach for exactly the downside you mentioned. It becomes trivially to fill up your disk with junk. |
Beta Was this translation helpful? Give feedback.
🙏 🙏 🙏 (all mechanisms will shortly support all schemes: #2220)
This is already supported in
resharevia theOrchestratorchannel:monorepo/examples/reshare/src/orchestrator/actor.rs
Lines 200 to 242 in 8a1f604