Bug 812760

Summary: Single option to update the grace-timeout value
Product: [Community] GlusterFS Reporter: Junaid <junaid>
Component: protocolAssignee: Junaid <junaid>
Status: CLOSED CURRENTRELEASE QA Contact: Anush Shetty <ashetty>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: divya, gluster-bugs, vagarwal, vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 17:31:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: DP 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 Junaid 2012-04-16 07:38:32 UTC
Description of problem:
Currently, there are two options "client.grace-timeout" and "server.grace-timeout" to change the grace timeout values on client and server respectively. Its better to have a single option that would effect both client and server timeouts.

This is the tracking bug to make sure that this is documented.

Comment 1 Junaid 2012-04-16 07:39:18 UTC
Also, have lock self healing off by default on both client and server processes.

Comment 2 Anand Avati 2012-04-16 18:35:56 UTC
CHANGE: http://review.gluster.com/3153 (protocol/client,server: Lock self healing off by default.) merged in master by Vijay Bellur (vijay)

Comment 3 Vijay Bellur 2012-04-16 18:37:21 UTC
Divya, Can you please update documentation to reflect this change?

Thanks,
Vijay

Comment 4 Divya 2012-04-17 09:12:28 UTC
(In reply to comment #3)
> Divya, Can you please update documentation to reflect this change?
> 
> Thanks,
> Vijay

Vijay,

I have made the following changes to the RHS guide:

1. Delete client.grace-timeout and server.grace-timeout options
2. Add "features.grace-timeout" option with the following:
   Description: Specifies the duration for the lock state to be maintained on the client and server after a network disconnection.
   Default Value: 10 secs
   Available options: 10 - 1800 secs

3. Change the default value of "features.lock-heal" option to "off"

The updated doc will be published for Beta 2.

Comment 5 Anush Shetty 2012-05-30 14:08:34 UTC
Verified with 3.3.0qa45