-RE: The lease hard limit is 1 hour and in another client want to append to a file need to wait for 1 hour?
Uma Maheswara Rao G 2012-10-18, 09:17
I am assuming that your actual client crashed. and another Client wants to append to same file which not closed by previous client.
Generally we will append to the files which are in closed state. In your case file is still in open state.
So, you can call explicite recoverLease, so that file will be closed and then you can append the file.
If you call directly append with out explicte receoverLease, it will check whether softlimit(1 min) expired. If soft limit expired, then append call it self will trigger the recover lease and append call will get exception saying try again later and recovery in progress.
From: Yanbo Liang [[EMAIL PROTECTED]]
Sent: Thursday, October 18, 2012 2:14 PM
To: [EMAIL PROTECTED]
Subject: The lease hard limit is 1 hour and in another client want to append to a file need to wait for 1 hour?
The lease hard limit is 1 hour,
is it means that if one file hold the lease and exit without release it and
then another file want to append to the same file will to wait for a hour?