Suppose a server process of glusterfs is started and using the same volfile if another server is executed it should fail returning a non zero value. But it is returning a zero. Thus applications which use glusterfs such as glusterd, cli may cause some errors due to this behavior.
*** Bug 1284 has been marked as a duplicate of this bug. ***
*** Bug 2016 has been marked as a duplicate of this bug. ***
Please update the status of this bug as its been more than 6months since its filed (bug id < 2000) Please resolve it with proper resolution if its not valid anymore. If its still valid and not critical, move it to 'enhancement' severity.
*** Bug 2295 has been marked as a duplicate of this bug. ***
*** Bug 3085 has been marked as a duplicate of this bug. ***
*** Bug 2955 has been marked as a duplicate of this bug. ***
Planing to keep 3.4.x branch as "internal enhancements" release without any features. So moving these bugs to 3.4.0 target milestone.
CHANGE: http://review.gluster.com/2694 (protocol/client: Pass the right arguments to CLIENT_GET_REMOTE_FD) merged in master by Anand Avati (avati)
CHANGE: http://review.gluster.com/479 (glusterd: bring in feature to use syncop for mgmt ops) merged in master by Anand Avati (avati)
CHANGE: http://review.gluster.com/579 (core: enable process to return the appropriate error code) merged in master by Anand Avati (avati)
*** Bug 837817 has been marked as a duplicate of this bug. ***
CHANGE: http://review.gluster.org/3832 (rpcsvc: remove .vector_actor and related changes) merged in master by Vijay Bellur (vbellur)
Firstly with the current usage this scenario does not arise. Since we no longer write glusterfs volume files by hand. And no longer start the gluster process by hand, but instead use the cli. To test this, create a volume, and use the generated volume file to start glusterfsd by hand using the command line: glusterfsd -f <vol-filename> This will start the glusterfsd process. Now try to start glusterfsd process again, by using the same command and the same volume file. glusterfsd should fail with non-zero return status.