Race Between Log Splitting and Log Writing
------------------------------------------

                 Key: HBASE-2593
                 URL: https://issues.apache.org/jira/browse/HBASE-2593
             Project: Hadoop HBase
          Issue Type: Bug
          Components: master, regionserver
    Affects Versions: 0.21.0
            Reporter: Nicolas Spiegelberg
            Assignee: Nicolas Spiegelberg
            Priority: Critical
             Fix For: 0.21.0


The current method for recovering the lease in HLog.splitLog() is flawed.  
Between the time that the regionserver is marked as dead and fs.append is 
issued, the regionserver could exit a GC pause and maintain the lease.  In this 
case, fs.append() would continually fail.  The master needs to not only recover 
the lease in splitLog but also break the lease so regionserver writes will no 
longer pass.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to