You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Keith Turner (JIRA)" <ji...@apache.org> on 2013/02/08 23:17:12 UTC

[jira] [Resolved] (ACCUMULO-1050) Master assumes tserver lost lock when it fails to get lock

     [ https://issues.apache.org/jira/browse/ACCUMULO-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Turner resolved ACCUMULO-1050.
------------------------------------

    Resolution: Won't Fix
    
> 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