-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Persist state (and Station ID) across Docker upgrades #444
Comments
Since we can't be 100% sure that the state is persisted outside of the running Docker container, I am not sure if Station Core can enforce this in a meaningful way. But! Maybe we can incentivise station instances that are old enough at the Meridian protocol level, e.g. by doubling the reward for instances older than 1 month. That way Station operators will have at least some motivation to comply. |
Has this feature already been implemented in the current version? I used the following command to create a container, but it failed. Can you help me?
|
This hasn't been implemented yet. Can you please open a new issue, with this message and the error you received? |
We should explain to operators how to fix See #456 (comment) |
Loosely related: space-meridian/roadmap#122 |
A follow-up for our Slack discussion in https://space-meridian.slack.com/archives/C06RPCL6QGL/p1714047593651149.
We have verified this is happening in our Station Core deployment running on Fly.io.
We would have to detect whether we are running in Docker and whether STATE_ROOT is mounted as a persisted volume.
I don’t know how reliable this is, but if the STATE_DIR is a mounted volume, then it is listed in the list of all mounts inside the container.
For comparison:
Tasks:
The text was updated successfully, but these errors were encountered: