diff options
author | Mohammed Junaid <junaid@redhat.com> | 2012-03-09 12:44:05 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-03-10 05:27:56 -0800 |
commit | ef108d4fa77fd9aba48a7b9475c9b72352c16e6a (patch) | |
tree | df1f43943d5341ff6d2e0797de7b13e2599a68dd /xlators/nfs | |
parent | 56ec59a465c4a4a34bac3a785964c2517570898b (diff) |
protocol/client: Register a timer(grace-timer) conditionally.
A grace timer is registered on a disconnect, but a reconnect timer sends a
connect request after every 3sec and if the server is down, the client protocol
receives disconnect and a grace timer will be registered which on timeout will
increase the lk-version value. Its enough to register the grace timer once after
the disconnect and later just ignore other psuedo disconnects.
Change-Id: I36a153aa86b350d87fe50d014ee0297f558a7fb6
BUG: 795386
Signed-off-by: Mohammed Junaid <junaid@redhat.com>
Reviewed-on: http://review.gluster.com/2906
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/nfs')
0 files changed, 0 insertions, 0 deletions