glusterd: Remove brick from brick list on all nodes.

Change-Id: I7150691886550b80cf5de11464a36c3254c5d21b
BUG: 866916
Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com>
Reviewed-on: http://review.gluster.org/4128
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
This commit is contained in:
Krishnan Parthasarathi 2012-10-24 10:05:03 +05:30 committed by Anand Avati
parent 61c1d77f22
commit 6be9a19b94

View File

@ -4303,6 +4303,8 @@ glusterd_brick_stop (glusterd_volinfo_t *volinfo,
if (uuid_compare (brickinfo->uuid, MY_UUID)) {
ret = 0;
if (del_brick)
glusterd_delete_brick (volinfo, brickinfo);
goto out;
}