summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/ec/src/ec-heal.c
diff options
context:
space:
mode:
authorKotresh HR <khiremat@redhat.com>2015-06-25 00:18:01 +0530
committerVenky Shankar <vshankar@redhat.com>2015-06-26 05:42:08 -0700
commit3925f5cf33df85807db812211552fc16c7850d0d (patch)
treeb3dc923c717c489cf7c5cda6c55acd77be7de982 /xlators/cluster/ec/src/ec-heal.c
parentaee44fccd450ac53421ebe729223ad1921e5f573 (diff)
geo-rep: Fix add user in mountbroker user management
The CLI 'gluster system:: execute mountbroker user <USERNAME> <VOLUMES>' to set volumes associated with a user replaces existing user and associated volumes upon setting with existing user. This patch fixes it by appending the volumes if the user already exists. It also introduces following CLI to remove volume for a corresponding user. 'gluster system:: execute mountbroker volumedel <USERNAME> <VOLUME>' <USERNAME>: username <VOLUME>: comman separated list of volumes to delete If it is the last volume to be deleted associated with the user, it will delete the user as well as it doesn't make sense to keep only user without volumes associated. Change-Id: I49f4b9279954d9f5d34aca2dd8a69c6f4b87fd19 BUG: 1226223 Signed-off-by: Kotresh HR <khiremat@redhat.com> Reviewed-on: http://review.gluster.org/11385 Reviewed-by: darshan n <dnarayan@redhat.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Aravinda VK <avishwan@redhat.com>
Diffstat (limited to 'xlators/cluster/ec/src/ec-heal.c')
0 files changed, 0 insertions, 0 deletions