accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-1050) Master assumes tserver lost lock when it fails to get lock
Date Thu, 07 Feb 2013 21:53:13 GMT
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

Mime
View raw message