forked from lei.chen/myxce
fix kill worker cause controller die
This commit is contained in:
parent
9e07a1b227
commit
06c561cea4
2 changed files with 15 additions and 2 deletions
|
|
@ -521,6 +521,8 @@ int handle_worker_leave(cluster_t* c, int idx)
|
|||
return -errno;
|
||||
}
|
||||
|
||||
w->ep = NULL;
|
||||
|
||||
mark_worker_unavail(c, w);
|
||||
|
||||
obj_deref(w);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue