Bug 765262 (GLUSTER-3530) - preserve the 'rebalance' state.
Summary: preserve the 'rebalance' state.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-3530
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: ---
Assignee: shishir gowda
QA Contact: shylesh
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2011-09-09 09:22 UTC by Amar Tumballi
Modified: 2013-12-19 00:06 UTC (History)
4 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 18:01:35 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Amar Tumballi 2011-09-09 09:22:56 UTC
something similar to rbstate.

Comment 1 Amar Tumballi 2011-10-13 07:28:33 UTC
with the patch http://review.gluster.com/551 going in, by not storing 'rebalance' state, we are not going to loose anything other than the ability to start rebalance/decommissioning automatically once the glusterd comes back.

But considering user always has an option here to 'start' the process again. Only thing is 'status' of previous rebalance process will be lost. Which I guess is more of the cosmetic improvement, and considering the possible races/corner cases involved with preserving the 'state' of rebalance, I would consider not having the persistent state for rebalance would be a cleaner bet.

Comment 2 shishir gowda 2012-02-23 11:31:42 UTC
CHANGE: http://review.gluster.com/2540 (cluster/dht: Rebalance will be a new
glusterfs process) merged in master by Vijay Bellur (vijay)

The above patch (mainline) saves Rebalance state to help in restarting of rebalance when glusterd starts up.

Comment 3 Kaushal 2012-05-29 10:23:00 UTC
Checked on the release-3.3 branch, by killing all gluster processes when rebalance was running. Restarting glusterd led to rebalance also being resumed, hence showing the state was saved.


Note You need to log in before you can comment on or make changes to this bug.