Comments (2)
While this would be a great feature to have, it is very difficult to achieve without risk for the node operation.
Option 1:
a. setup new node, but keep it off (easy)
b. keep new node up-to-date with all of the internal state of the old node (very hard)
c. turn off old node and then turn on new node without losing track of messages in-flight (potentially impossible)
Without achieving these four steps reliably, the new node would be at risk of broadcasting information that was at odds with the old node. In the worst case, for example, it might see itself proposing two different blocks in the same height/round, and this would result in slashing.
Option 2:
a. setup new node, but keep it off (easy)
b. turn off old node (easy)
c. download state and upload to new node (easy, but slow)
d. turn on new node (easy)
This solves the problem in (1), by effectively cloning the state from the old node. This has to be done while the old node is off (and before the new node is on), otherwise the cloned state can become stale and we are have the same problem as (1) again. But, step (2.b) is slow and could result in extended down-time for the node. Especially if there is an intermittent connectivity issue between the node operator's workspace and the node. Storage space can be several GBs, so downloading and then uploading the entire backup will take time. Then, the new node will be (at best) a few minutes behind the rest of the network and need to re-synchronise with it.
It is more than possible that this takes too long, and the node begins begin slashed (and is forcibly deregistered) for not being online.
from darknode-cli.
Decided not to label as wont fix
, and instead label as help wanted
. Open to suggestions here, but unless something compelling is suggested that minimises risk to the node operator, I am not sure migrations like this will actually be possible.
from darknode-cli.
Related Issues (20)
- Update AWS storage type from gp2 to gp3
- install of darknode failed for digital ocean
- Darknode creation fails on DigitalOcean
- Deploying Darknode to Local Raspberry Pi
- Make AWS SSH security group CIDR configurable
- Disk is not encrypted in AWS?! HOT 1
- "cannot find any stable release" when deploying node HOT 4
- Where can we configure IP+Port (SSH) the CLI is using for each darknode? HOT 3
- About the REST API category HOT 1
- Help installing Darknode CLI- command not found HOT 4
- Help to install DarkNode in a private cloud HOT 2
- Help finding functioning darknode on my machine
- How to login the darkNode Machine In digitalocean HOT 5
- getting error context deadline exceeded on deploy HOT 2
- Unsupported OS type or architecture message when trying to install CLI on Mac ARM64 HOT 1
- manual installation HOT 1
- access darknode ui from a different client machine HOT 2
- Rate Limiting of api.github.com requests HOT 1
- sh: 150: Syntax error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from darknode-cli.