HBASE-3515 [replication] ReplicationSource can miss a log after RS comes
out of GC git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1068590 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8742aaa2f0
commit
ef29cac094
|
@ -109,6 +109,8 @@ Release 0.90.1 - Unreleased
|
|||
HBASE-3509 Add metric for flush queue length
|
||||
HBASE-3419 If re-transition to OPENING during log replay fails, server
|
||||
aborts. Instead, should just cancel region open.
|
||||
HBASE-3515 [replication] ReplicationSource can miss a log after RS comes
|
||||
out of GC
|
||||
|
||||
Release 0.90.0 - January 19th, 2011
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -504,6 +504,9 @@ public class HLog implements Syncable {
|
|||
}
|
||||
|
||||
synchronized (updateLock) {
|
||||
if (closed) {
|
||||
return regionsToFlush;
|
||||
}
|
||||
// Clean up current writer.
|
||||
Path oldFile = cleanupCurrentWriter(currentFilenum);
|
||||
this.writer = nextWriter;
|
||||
|
|
Loading…
Reference in New Issue