Description of problem: After a peer detach stale glustershd and gluster nfs processes will be running. There were no volume information in /var/lib/glusterd/vols and /var/lib/glusterd/peers. But /var/lib/glusterd/nfs had some stale data. Ideally all these should be cleaned up and the processes should be exited gracefully when we did peer detach. Version-Release number of selected component (if applicable): glusterfs 3.4.0.12rhs.beta1 How reproducible: 1/1 Steps to Reproduce: 1. Created a cluster of 4 nodes. 2. Created a pure replicate volume of replica count 2. So only two peers host the bricks and other 2 peers don't have any bricks. And the glustershd and gluster nfs processes will be running in those other two peers where there is no glusterfsd. 3. Now since those two bricks doesn't have nay bricks do peer detach on them 4. Check the /var/lib/glusterd/{vols,peers,nfs} Actual results: glustershd and gnfs processes are still running. Some stale data present in the /var/lib/glusterd/nfs Expected results: There should be no stale data in glusterd store and there should be no stale processes running. Additional info:
Somehow it's submitted twice creating two entries in BZ for single bug. https://bugzilla.redhat.com/show_bug.cgi?id=980440 *** This bug has been marked as a duplicate of bug 980440 ***