live movement
to migrator movement
to migrator movement-aptos
to live movement-aptos
#136
Replies: 6 comments 12 replies
-
@0xmovses @andygolay @sebtomba @franck44 @apenzk @sausagee We should probably get clear about what's supposed to happen here. @mcmillennick Tagging you too as this starts to invoke a lot of questions about the underlying infrastructure. |
Beta Was this translation helpful? Give feedback.
-
Am i correct in that the question is how to exactly handle the transition event?
|
Beta Was this translation helpful? Give feedback.
-
@apenzk @mcmillennick To both of your questions/statements, this repo is currently in place where we can effectively push out a binary (soon container) which when run on nodes that will perform the migration and run checks for the correctness of the migration. However, in so doing, it's obviously creating additional processes which have their own notion of network state--at least temporarily. |
Beta Was this translation helpful? Give feedback.
-
#146 grounds this discussion in a potential K8s flow, for those who are interested in trying to start from a more practical basis. |
Beta Was this translation helpful? Give feedback.
-
Would be good to have your comments here. |
Beta Was this translation helpful? Give feedback.
-
I think once the migrator Movement-Aptos passes all the checks, we should keep it running as a follower node to catch up on the latest transactions and stay in sync for a while. That gives us a chance to run some additional checks and make sure everything looks healthy. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
As #119 (comment) points out, because$\to$ $\to$ $\to$
movement
andmovement-aptos
migration logic is written using temporary instances ofmigrator
andnode
, we have potentially different and intermediate versions of the chains. That is, the migration and its checks proceedlive movement
migrator movement
migrator movement-aptos
live movement-aptos
.migrator movement
migrator movement-aptos
is what this repository reasons about directly. So, this is covered.However, practically, we are left with two potential sharp-edges:
live movement
migrator movement
occurs, we would either have (a) two replicas (perhaps forks) of the chain which proceed independently or else (b) to stoplive movement
.Note
On the surface this isn't a big problem because we should be able to forward the blocks processed in between to
live movement-aptos
and by our criteria have a semantically correct outcome.migrator movement-aptos
live movement-aptos
, we would have to have clear idea of how to transition from themovement-aptos
network which is in amigrator
state to one that islive
.Important
Does$\to$
migrator movement-aptos
live movement-aptos
mean adding new replicas? More actual participants? Stopping some machines and starting others? Reorganizing p2p broadcasts?Much of this starts to intersect with the notions of Environments and Contexts presented as abstractions herein. For example, can the closure of an environment be neatly tied to these transitions? Can we complete
migrator movement-aptos
and launchlive movement-aptos
from code? Does anything need to happen at all?To begin this discussion, consider the following questions:
live movement
migrator movement
?migrator movement-aptos
live movement-aptos
?Beta Was this translation helpful? Give feedback.
All reactions