diff options
author | Gaurav Yadav <gyadav@redhat.com> | 2017-10-05 23:44:46 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2017-10-17 15:44:49 +0000 |
commit | 614904fa7a31bf6f69074238b7e710a20e05e1bb (patch) | |
tree | a478eddc666d9c8edae16446b50ca1b3cd9c8ffa /extras/glusterd.vol.in | |
parent | 05b9dce1b503ab10efdb79a870b07d982cb5a823 (diff) |
glusterd : introduce timer in mgmt_v3_lock
Problem:
In a multinode environment, if two of the op-sm transactions
are initiated on one of the receiver nodes at the same time,
there might be a possibility that glusterd may end up in
stale lock.
Solution:
During mgmt_v3_lock a registration is made to gf_timer_call_after
which release the lock after certain period of time
Change-Id: I16cc2e5186a2e8a5e35eca2468b031811e093843
BUG: 1499004
Signed-off-by: Gaurav Yadav <gyadav@redhat.com>
Diffstat (limited to 'extras/glusterd.vol.in')
-rw-r--r-- | extras/glusterd.vol.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/glusterd.vol.in b/extras/glusterd.vol.in index 01529967698..fe413a9b4ab 100644 --- a/extras/glusterd.vol.in +++ b/extras/glusterd.vol.in @@ -7,6 +7,7 @@ volume management option transport.socket.read-fail-log off option ping-timeout 0 option event-threads 1 +# option lock-timer 180 # option transport.address-family inet6 # option base-port 49152 # option max-port 65535 |