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$
movementandmovement-aptosmigration logic is written using temporary instances ofmigratorandnode, we have potentially different and intermediate versions of the chains. That is, the migration and its checks proceedlive movementmigrator movementmigrator movement-aptoslive movement-aptos.migrator movementmigrator movement-aptosis what this repository reasons about directly. So, this is covered.However, practically, we are left with two potential sharp-edges:
live movementmigrator movementoccurs, 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-aptosand by our criteria have a semantically correct outcome.migrator movement-aptoslive movement-aptos, we would have to have clear idea of how to transition from themovement-aptosnetwork which is in amigratorstate to one that islive.Important
Does$\to$
migrator movement-aptoslive movement-aptosmean 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-aptosand launchlive movement-aptosfrom code? Does anything need to happen at all?To begin this discussion, consider the following questions:
live movementmigrator movement?migrator movement-aptoslive movement-aptos?Beta Was this translation helpful? Give feedback.
All reactions