Bug 765262 (GLUSTER-3530)

Summary: preserve the 'rebalance' state.
Product: [Community] GlusterFS Reporter: Amar Tumballi <amarts>
Component: glusterdAssignee: shishir gowda <sgowda>
Status: CLOSED CURRENTRELEASE QA Contact: shylesh <shmohan>
Severity: low Docs Contact:
Priority: medium    
Version: mainlineCC: gluster-bugs, kaushal, nsathyan, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 18:01:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 817967    

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.