diff options
author | Gaurav Kumar Garg <ggarg@redhat.com> | 2015-06-10 15:11:39 +0530 |
---|---|---|
committer | Krishnan Parthasarathi <kparthas@redhat.com> | 2015-06-15 00:15:46 -0700 |
commit | 3fb18451311c34aeced1054472b6f81fc13dd679 (patch) | |
tree | 2abd649347a48a784b3de2a839977dfa21ece099 /rpc/xdr | |
parent | 40795d95697068a0beb52364b97818dc80e49440 (diff) | |
download | glusterfs-3fb18451311c34aeced1054472b6f81fc13dd679.tar.gz glusterfs-3fb18451311c34aeced1054472b6f81fc13dd679.tar.xz glusterfs-3fb18451311c34aeced1054472b6f81fc13dd679.zip |
glusterd: subvol_count value for replicate volume should be calculate correctly
glusterd was crashing while trying to remove bricks from replica set
after shrinking nx3 replica to nx2 replica to nx1 replica.
This is because volinfo->subvol_count is calculating value from old
replica count value.
Change-Id: I1084a71e29c9cfa1cd85bdb4e82b943b1dc44372
BUG: 1230121
Signed-off-by: Gaurav Kumar Garg <ggarg@redhat.com>
Reviewed-on: http://review.gluster.org/11165
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-by: Ravishankar N <ravishankar@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Diffstat (limited to 'rpc/xdr')
0 files changed, 0 insertions, 0 deletions