cover rest api for failover
implement rebalance with failover test cases