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

Fix runmigration cached using DB load and create #250

Open
wants to merge 2 commits into
base: release-4.5.X
Choose a base branch
from

Conversation

yvaucher
Copy link
Member

@yvaucher yvaucher commented Sep 6, 2023

Allow to set restore a cached DB and create a new one

If both LOAD_DB_CACHE (with a ceil version) and CREATE_DB_CACHE were set,
in case the directory containing cached DB is empty the CACHED_DUMP variable
was emptied and the script was unable to create a new dump.

It also prevent to rename the new cache dump with the previous dump name.

If both LOAD_DB_CACHE (with a ceil version) and CREATE_DB_CACHE were set,
in case the directory containing cached DB is empty the CACHED_DUMP variable
was emptied and the script was unable to create a new dump.
@yvaucher yvaucher changed the title Fix runmigration cached DB load n create Fix runmigration cached using DB load and create Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant