[ 
https://issues.apache.org/jira/browse/HBASE-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567373#action_12567373
 ] 

Billy Pearson commented on HBASE-433:
-------------------------------------

might also take a look at what point the master sees a region as crashed from a 
region server

example

say I have a failed region server and master loads and saves restore logs for 
each region 

on the reopen of a region and say it replaying the logs and crashes 

Would the master overwrite the old log file with a new one or would the master 
not consider the region as part of the region server on a crash until it 
receives an MSG_REPORT_PROCESS_OPEN message?
Should look in to this so we do not have a risk of over writing a restore log 
file that has not successfully loaded and flushed to disk.

> region server should deleted restore log after successfull restore
> ------------------------------------------------------------------
>
>                 Key: HBASE-433
>                 URL: https://issues.apache.org/jira/browse/HBASE-433
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: regionserver
>            Reporter: Billy Pearson
>            Priority: Trivial
>             Fix For: 0.2.0
>
>
> Currently we do not remove the restore log "oldlogfile.log" after we reopen a 
> region after a crashed region server.
> Suggestion would be to remove after we successfully flush of all the edits to 
> a mapfile
> so something like:
> replay log 
> memcache flush
> deleted log

-- 
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