-
Notifications
You must be signed in to change notification settings - Fork 6
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
Deprecate old flags of # of attempts #22
Comments
samanvp
added a commit
to samanvp/gcp-deepvariant-runner
that referenced
this issue
Jul 9, 2019
We keep the current two flags and their default values: * --max_preemptible_tries * --max_non_preemptible_tries we also set the default value of the new --attempts flags 0. The underlying logic will match fixed logic, ie when --preemptible is set, all retires will be using preemptible machines. This way we avoid any unexpected cost associated with using non-preemptible machines. As issue googlegenomics#22 indicates, we will deprecate these two flags in the next release and set meaningful default value for --attempts flag. Meanwhile, we are showing a warning when these two flags are being used and also we do not allow to use them at the same time when --attempts is being used.
samanvp
added a commit
to samanvp/gcp-deepvariant-runner
that referenced
this issue
Jul 9, 2019
We keep the current two flags and their default values: * --max_preemptible_tries * --max_non_preemptible_tries we also set the default value of the new --attempts flags 0. The underlying logic will match fixed logic, ie when --preemptible is set, all retires will be using preemptible machines. This way we avoid any unexpected cost associated with using non-preemptible machines. As issue googlegenomics#22 indicates, we will deprecate these two flags in the next release and set meaningful default value for --attempts flag. Meanwhile, we are showing a warning when these two flags are being used and also we do not allow to use them at the same time when --attempts is being used.
samanvp
added a commit
to samanvp/gcp-deepvariant-runner
that referenced
this issue
Jul 11, 2019
We keep the current two flags and their default values: * --max_preemptible_tries * --max_non_preemptible_tries we also set the default value of the new --attempts flags 0. The underlying logic will match fixed logic, ie when --preemptible is set, all retires will be using preemptible machines. This way we avoid any unexpected cost associated with using non-preemptible machines. As issue googlegenomics#22 indicates, we will deprecate these two flags in the next release and set meaningful default value for --attempts flag. Meanwhile, we are showing a warning when these two flags are being used and also we do not allow to use them at the same time when --attempts is being used.
samanvp
added a commit
that referenced
this issue
Jul 11, 2019
* Avoid non-preemptible retries when '--preemptible' is set. We also enforce '--max_non_preemptible_tries' to be set to 0 when preemptible option is selected. * simplify flags by introducing --attempts By replacing --max_non_preemptible_tries and --max_preemptible_tries with --attempts we make our flags more straightforward. Note, we need to update our docs after this change is released: https://cloud.google.com/genomics/docs/tutorials/deepvariant * Make adding --attemtps flag backward compatible We keep the current two flags and their default values: * --max_preemptible_tries * --max_non_preemptible_tries we also set the default value of the new --attempts flags 0. The underlying logic will match fixed logic, ie when --preemptible is set, all retires will be using preemptible machines. This way we avoid any unexpected cost associated with using non-preemptible machines. As issue #22 indicates, we will deprecate these two flags in the next release and set meaningful default value for --attempts flag. Meanwhile, we are showing a warning when these two flags are being used and also we do not allow to use them at the same time when --attempts is being used.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
--max_non_preemptible_tries
and--max_preemptible_tries
must be deprecated. Instead we rely on--attempts
and--preemptible
to control the retries behavior.The text was updated successfully, but these errors were encountered: