-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
weed mount option to exit on first failure #1034
Comments
In a distributed cluster, usually retry is needed. |
close this? It's unlikely to implement this. |
mmm, ok, let me try to give a more concrete example where it would be good to have something. I'm running this is especially important for the startup of short lived containers - which also makes me think it needs to be a workload specific tunable. so - having thought this through a little - how would you feel about Defaulting to infinite would make it clear that this is a compromise choice (somewhat like the tradeoff of always writing, or failing a write when not enough volumes are available to match the replication policy) |
happy for you to tell me no, yes, do this instead, or yes, but you'd need to make the PR cos its not the most important thing - I'm very much in the explore/learn phase, and seaweedfs is only a part of the solution i'm working through |
added a fix for this. Thanks for the suggestion! |
I have a container that runs
weed mount
, and because i forgot to hook its network up to the seaweedfs network, I expected it to run, fail and exit - interestingly, it hasn't exitedI'm going to assume this is intentional for interactive use, but it would be really cool to have a
--no-retrys
that exists fasterThe text was updated successfully, but these errors were encountered: