Allow to start from the frostfs-adm prepared dump #42
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-dev-env#42
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
frostfs-adm
supportmorph init
to the dump file. If I do multiplemake down clean up
during the development, I should have an option to not wait for >10 seconds just for frostfs-adm to deploy.As an alternative, frostfs-aio stores chain in the docker volume, so it is persistent between restarts and cleaned after
make clean
. Therefore first start takes >10 seconds, but then restarts are much faster. What do you think about it?It works, but I was thinking specifically about
clean
case, when I want to start with a fresh instance of node.Maybe some
make dump
andmake restore
commands can be useful. Default workflow isn't changed, but you can dump chain state at some point and thenmake down clean restore
when you need to go back.Also I think it would be nice to reuse already downloaded binaries instead of downloading them on every
make up
. Env variablesFROSTFS_CONTRACTS_PATH
,FROSTFS_ADM_PATH
,FROSTFS_CLI_PATH
have already presented but we have to configure them manually when dev-env versions are updated. Consider adding a check for cases where local binaries are outdated in order to use these envs by defaultThis check is hard to implement: we cannot use astronomical time and, usually, frostfs-cli version matches that of node.
To solve constant manual configuration we should use some .env that is not checked out in this repo (but used in Makefile).