-
Notifications
You must be signed in to change notification settings - Fork 522
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updog: Don't source migrations from a downloaded root image
Updog downloads the root image before writing it to disk so that it can be mounted and searched for existing migrations, in an effort to reduce network traffic. However this has two problems in the current approach: - It doesn't solve the issue of trust for the "other" side when it boots and finds these migrations. - If run from a container with smaller cgroup limits (eg. dogswatch) it can invoke the OOM killer! Be more conservative with memory and remove this approach. Future patches will introduce a more trusted and less memory-hungry solution. Signed-off-by: Samuel Mendoza-Jonas <[email protected]>
- Loading branch information
Showing
3 changed files
with
7 additions
and
124 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters