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] [Resolved] (ACCUMULO-1050) Master assumes tserver lost lock when it fails to get lock
Date Fri, 08 Feb 2013 22:17:12 GMT

     [ 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

Mime
View raw message