Skip to content
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

The official docker image FAST_CATCHUP setting wipes clean state on new image update. #5739

Closed
pbennett opened this issue Sep 14, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@pbennett
Copy link

Subject of the issue

The FAST_CASTCHUP env variable when set to 1 causes the Algorand docker image to initiate a fast catchup on start. This works fine, and well.

However, once caught up, a persistent file of some sort indicating fast catchup was run should be placed into the /algod/data directory. On restart with a new algod image (ie: going from 3.17.0 to 3.18.0), FAST_CATCHUP should be a no-op because this file is present.

Steps to reproduce

  1. Start image (w/ persistently mounted data volume) with FAST_CATCHUP set. Let it fully sync and run in caught-up state.
  2. Stop instance, update image to newer version and the already caught up node will get reset, performing a full fast catchup again.
@pbennett pbennett added the bug Something isn't working label Sep 14, 2023
@Murasame233
Copy link

We need close this issue, cause this problem has already solved in #5756

@pbennett
Copy link
Author

From reading #5756 it appears to address the issue. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants