Review Board 1.7.22


HBASE-4797 [availability] skip recovered edits files older than the region has

Review Request #2906 - Created Nov. 21, 2011 and submitted

Jimmy Xiang
git://git.apache.org/hbase.git
HBASE-4797
Reviewers
hbase
stack, tlipcon
hbase-git
If there are multiple recovered edits files, I used the file name to find the initial sequence id.  After these files are sorted, we can find a file's possible maximum sequence id based on the next file's initial sequence id.  If the maximum sequence id is smaller than the current sequence id, the whole recovered edits file is old and ignored.
Added test case to TestHRegion, and all the tests in this test are passed.
Review request changed
Updated (Nov. 22, 2011, 1:02 a.m.)
Removed white spaces in TestHRegion.java
Posted (Nov. 22, 2011, 4:57 a.m.)
+1 on patch