Skip to content

prevent unloading the serving versions. #1727

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jdk8
Copy link

@jdk8 jdk8 commented Sep 2, 2020

In specific version policy mode, when the filesystem crashed or the version directory was deleted by mistake, the serving version may be unloaded. Which is a disaster for online service. So this pull request tries to prevent unloading the versions in configuration. If we need unload versions, changing then reloading configuration may be a good choice.

@netfs
Copy link
Collaborator

netfs commented Dec 2, 2020

what happens if your serving process restarts (while the underlying filesystem or directory has been deleted). that still will be a disaster. no? IOW this fix is only useful until your process restarts or is preempted and gets rescheduled elsewhere in the cluster -- and when that happens you will have failures (disaster as you say). no?

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

Successfully merging this pull request may close these issues.

3 participants