-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Forge] Add working_dir param to support running node on checkpoint dir, so that the existing data on disk is preserved. #4591
Conversation
089625a
to
3b90391
Compare
484b008
to
ab3c84c
Compare
closing stale pr -- feel free to re-open and lets get it reviewed if it isn't stale... |
47fbb5e
to
c50b4ba
Compare
…ir, so that the existing data on disk is preserved.
c50b4ba
to
7b0074a
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
✅ Forge suite
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, LGTM. Only concern is if we've verified that changing the secure-data.json
path is not going to break anything?
@@ -16,7 +16,7 @@ consensus: | |||
type: "local" | |||
backend: | |||
type: "on_disk_storage" | |||
path: /opt/aptos/data/secure-data.json | |||
path: secure-data.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did we change this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it will be prepended with working_dir
which is /opt/aptos/data/
in this case.
@@ -16,7 +16,7 @@ consensus: | |||
type: "local" | |||
backend: | |||
type: "on_disk_storage" | |||
path: /opt/aptos/data/secure-data.json | |||
path: secure-data.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it will be prepended with working_dir
which is /opt/aptos/data/
in this case.
…ir, so that the existing data on disk is preserved. (aptos-labs#4591)
For largedb test now, but could also be a useful feature in the future.
Description
Test Plan
This change is