GitHub user zhan849 opened a pull request: https://github.com/apache/helix/pull/258
[HELIX-741] make swap instance more robust and idempotent Made swap instance more robust: 1. List ideal state names and read ideal state individually to avoid partial read 2. remove redundant logics that test old instance status 3. make it idempotent 4. added test cases You can merge this pull request into a Git repository by running: $ git pull https://github.com/zhan849/helix harry/helix-admin Alternatively you can review and apply these changes as the patch at: https://github.com/apache/helix/pull/258.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #258 ---- commit 24c52394dfff91c045367260c969f76560ebeb62 Author: Harry Zhang <hrzhang@...> Date: 2018-07-18T01:21:48Z [HELIX-741] make swap instance more robust and idempotent ---- ---