Hao Zhang created HELIX-741:
-------------------------------

             Summary: Revise unreliable behavior in swapInstance
                 Key: HELIX-741
                 URL: https://issues.apache.org/jira/browse/HELIX-741
             Project: Apache Helix
          Issue Type: Task
            Reporter: Hao Zhang


swapInstance call did not work properly when we were trying to fix a production 
issue.

 

The API was old and not actively maintained. It used deprecated underlaying 
data accessor API and hit a problem of partial ZK read. Thus our CLI was unable 
to update all IdealStates as expected.

We have seen such problem before, especially when the cluster is bug and there 
are a lot of data to read back.

This ticket is created to refactor the implementation of swapInstance() to make 
it more robust, and separate ticket will be created to revise those old API 
calls that are not frequently used not actively maintained.

–
AC:
 - make this api call reliable and idempotent



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to