Project: springxd
Issue XD-2176: Module (re) deployment failed after ZK Cluster Ensemble lost quorum
When simulating a slow network by deploying a Zookeeper with 3 nodes. * Zookeeper 1 (follower)was located at US-East-1 * Zookeeper 2 (follower) was in Sydney * Zookeeper 3 (Leader) was in Sydney XD Admin and containers were running in US-East-1 Zone In this case we simulated a loss of quorum by killing the zookeeper 2 (follower in Sydney). All modules were undeployed. When I restarted the zookeeper 2 all containers and admin recognized the ensemble was up and tried to redeploy the modules, but the stream was left in a "Failed" state. Steps to reproduce: * Deploy Stream "http|file" * Start Data Flow to stream from JMeter * Terminate ZK Follower in AU * Restart ZK Follower in AU The workaround is to undeploy and deploy the stream.
Story points: 3