[Gluster-devel] gNFS service management from glusterd

Xavi Hernandez jahernan at redhat.com
Wed Feb 21 10:54:18 UTC 2018


Hi all,

currently glusterd sends a SIGKILL to stop gNFS, while all other services
are stopped with a SIGTERM signal first (this can be seen in
glusterd_svc_stop() function of mgmt/glusterd xlator).

The question is why it cannot be stopped with SIGTERM as all other
services. Using SIGKILL blindly while write I/O is happening can cause
multiple inconsistencies at the same time. For a replicated volume this is
not a problem because it will take one of the replicas as the "good" one
and continue, but for a disperse volume, if the number of inconsistencies
is bigger than the redundancy value, a serious problem could appear.

The probability of this is very small (I've tried to reproduce this problem
on my laptop but I've been unable), but it exists.

Is there any known issue that prevents gNFS to be stopped with a SIGTERM ?
or can it be changed safely ?

Thanks,

Xavi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20180221/4accca82/attachment.html>


More information about the Gluster-devel mailing list