Bug 812760 - Single option to update the grace-timeout value
Summary: Single option to update the grace-timeout value
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: protocol
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Junaid
QA Contact: Anush Shetty
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2012-04-16 07:38 UTC by Junaid
Modified: 2013-08-06 22:39 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 17:31:01 UTC
Regression: ---
Mount Type: ---
Documentation: DP
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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


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