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

avoid race conditions in case of scaling #6

Open
hleb-rubanau opened this issue Jan 3, 2018 · 1 comment
Open

avoid race conditions in case of scaling #6

hleb-rubanau opened this issue Jan 3, 2018 · 1 comment

Comments

@hleb-rubanau
Copy link
Collaborator

we can check for presence of parent directory but absence of files in it

If it is the situation, entrypoint can wait for e.g. 1 minute and switch into ssl_enabled mode than... or crash if nothing had been changed

@hleb-rubanau
Copy link
Collaborator Author

Use case is not completely clear, as anyway having multiple containers writing to the same volume is a potential source of bugs (or simply impossible to set up) in most environments.

So, for now let's stick to 'single dispatcher' concept, avoiding replication until we need to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant