Keith Turner created ACCUMULO-1050:
--------------------------------------

             Summary: Master assumes tserver lost lock when it fails to get lock
                 Key: ACCUMULO-1050
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1050
             Project: Accumulo
          Issue Type: Bug
          Components: master
    Affects Versions: 1.4.0
            Reporter: Keith Turner
            Assignee: Eric Newton


There is code in the master like the following.

{code}
  if (!lock.isLocked() && !watcher.gotLock && watcher.failureException == null) 
{
     //assume tserver there
}else{
     //assume tserver lost lock
}
{code}

In the else the master assumes it got the tserver lock and therefore the 
tserver lost its lock.  But the else could execute when the master failed to 
get a lock. This may cause the master  to kill tablet server when there is no 
reason to.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to