diff options
author | Krishnan Parthasarathi <kparthas@redhat.com> | 2013-12-23 14:07:53 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-12-23 06:58:03 -0800 |
commit | 3ea6954c120c968ec3b16916cf4fc304b9b4517a (patch) | |
tree | f3711f640c2c449550d7807ac428d6ff75338154 /rpc | |
parent | b07107511c51ae518a1a952ff9c223673cd218a8 (diff) |
glusterd: Save/restore/sync rebalance dict
Backport of http://review.gluster.org/6492
A dictionary was added to store additional information of a rebalance
process, like the bricks being removed in case of a rebalance started
by remove-brick. This dictionary wasn't being stored/restored or synced
during volume sync, leading to errors like a volume status command
failing. These issues have been fixed in this patch. The rebalance dict
is now stored/restored and also exported/imported during volume sync.
Also, this makes sure that the rebalance dict is only create on
remove-brick start. This adds a bricks decommissioned status to the
information imported/exported during volume sync.
Change-Id: I56fed23dc2de80a96648055fe705e9c3ffd55227
BUG: 1040809
Signed-off-by: Kaushal M <kaushal@redhat.com>
Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com>
Reviewed-on: http://review.gluster.org/6565
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'rpc')
0 files changed, 0 insertions, 0 deletions