Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sheep: don't exit when sheep calls leave_cluster()
When some unrecoverable error happens, sheep daemon will leave the cluster but stay as a gate to redirect requests. For e.g, fllowing case is sheep meets an EIO ... Nov 24 10:36:15 do_io_request(785) failed: 2, 2, 7c2b2500000000 , 1, 3 Nov 24 10:36:15 io_op_done(147) leaving sheepdog cluster Nov 24 10:36:15 sd_leave_handler(1291) network partition bug: this sheep should have exited Nov 24 10:36:15 log_sigsegv(358) logger pid 8255 exiting abnormally ... Thit has nothing to do with network partition stuff. Signed-off-by: Liu Yuan <tailai.ly@taobao.com> Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
- Loading branch information