Skip to content

Commit

Permalink
Update full-auto migration tool (#2529)
Browse files Browse the repository at this point in the history
1. Add semi-auto placement as preference lists in Resource config in Helix before Full-Auto migration. This causes helix to not rebalance immediately when Full-Auto is turned on and gives us control to migrate few partitions at a time.

2. Add support to remove few (or all) partitions at a time from preference lists in Resource config. Sample command to use the tool is /export/apps/jdk/JDK-1_8_0_121/bin/java -Dlog4j2.configurationFile=file:./log4j2.xml -cp ambry.jar com.github.ambry.clustermap.HelixBootstrapUpgradeTool  --clusterName Ambry-EI --dcs ei-ltx1 --zkLayoutPath zkLayoutEI.json --resourceName 10001 --partitions 180,183,189,196,201  --updatePreferenceLists
  • Loading branch information
Arun-LinkedIn authored Jan 29, 2024
1 parent 9ad1891 commit 7257e95
Show file tree
Hide file tree
Showing 3 changed files with 475 additions and 263 deletions.
Loading

0 comments on commit 7257e95

Please sign in to comment.