[sheepdog] [PATCH] sheep: fix local_get_node_list before the node joined a cluster
Liu Yuan
namei.unix at gmail.com
Fri Jun 1 08:19:10 CEST 2012
On 05/31/2012 11:04 PM, Christoph Hellwig wrote:
> The GET_NODE_LIST command has the force flag and thus can be executed
> before the cluster has started, which includes the short time before
> the sheep even has any node list, in which we can trigger the assert
> for current_vnode_info in get_vnode_info.
>
> Fix this by checking for a NULL current_vnode_info first, for which we
> have to move the implementation to group.c. To me this makes sense
> anyway as the node list is a group.c internal detail to start with.
Applied this old version after revert the last applied one.
Thanks,
Yuan
More information about the sheepdog
mailing list