Details
-
Sub-task
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
Description
Bootstrap:
- New config parameter num_tokens which is used iff initial_token is not set.
- Both initial_token and replace_token will allow a comma-separated list of tokens so multiple tokens can be configured explicitly if required.
- Bootstrapper.getBalancedToken will be deprecated and used only in the case that num_tokens == 1. Instead, if initial token is not specified, num_tokens tokens will be randomly chosen.
- The existing logic can be used to calculate the new ranges which must be streamed.
Decommission:
- The existing logic can be used with some minor modifications to account for multiple tokens per host
Edit0: appended patch information.
Edit1: added 03_group_stream_out_ranges patch.
Patches
Compare | Raw diff | Description |
---|---|---|
01_bootstrap_decommission | 01_bootstrap_decommission.patch | No Description |
02_remove_tokens | 02_remove_tokens.patch | No Description |
03_group_stream_out_ranges | 03_group_stream_out_ranges.patch | No Description |
Note: These are branches managed with TopGit. If you are applying the patch output manually, you will either need to filter the TopGit metadata files (i.e. wget -O - <url> | filterdiff -x*.topdeps -x*.topmsg | patch -p1), or remove them afterward (rm .topmsg .topdeps).