This repository has been archived by the owner on Sep 29, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This allows users to specify `helios rolling-update` options in their job configuration in addition to being able to specify them with switches for `rolling-update`. If not specified, the master will use the following defaults. The order of precedence for each rollout option is `rolling-update` switch value, job configuration value, then default. timeout = 5 seconds parallelism = 1 migrate = false overlap = false token = "" ignoreFailures = false Notes: * set `rolling-update` defaults to null for args that use `storeTrue()` This method calls implicitly sets the default to false. * fix NPE in ZKMM * Fix tests broken by the assumption that rollout options are never null * Change the tests to use the default options. I didn't make the server code check for nulls since it should never encounter nulls. ZKMM will fall back to defaults. * Update `inspect` cmd to output rollout options * `inspect` command states null RolloutOptions will default to defaults * Add `RolloutOptions.getDefault()` as a small optimization. * Restrict visibility of some attributes and methods.
- Loading branch information
Showing
25 changed files
with
475 additions
and
115 deletions.
There are no files selected for viewing
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
Oops, something went wrong.