Sometimes connection is suspended for a moment and then reconnected. Despite of tiny duration of connection suspention, worker launches shutdown of all jobs and manager launches rebalance. Maybe we should allow worker to continue its work during some timeout in hope that it will reconnected to zk. So manager should consider that worker isn't dead during this timeout.
Sometimes connection is suspended for a moment and then reconnected. Despite of tiny duration of connection suspention, worker launches shutdown of all jobs and manager launches rebalance. Maybe we should allow worker to continue its work during some timeout in hope that it will reconnected to zk. So manager should consider that worker isn't dead during this timeout.