HDFS-2993. HA: BackupNode#checkOperation should permit CHECKPOINT operations. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1623@1292688 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8db31c5972
commit
2e9b8df963
@ -228,3 +228,5 @@ HDFS-2972. Small optimization building incremental block report (todd)
|
|||||||
HDFS-2973. Re-enable NO_ACK optimization for block deletion. (todd)
|
HDFS-2973. Re-enable NO_ACK optimization for block deletion. (todd)
|
||||||
|
|
||||||
HDFS-2922. HA: close out operation categories (eli)
|
HDFS-2922. HA: close out operation categories (eli)
|
||||||
|
|
||||||
|
HDFS-2993. HA: BackupNode#checkOperation should permit CHECKPOINT operations (eli)
|
||||||
|
@ -407,7 +407,8 @@ private class BNHAContext extends NameNodeHAContext {
|
|||||||
@Override // NameNode
|
@Override // NameNode
|
||||||
public void checkOperation(OperationCategory op)
|
public void checkOperation(OperationCategory op)
|
||||||
throws StandbyException {
|
throws StandbyException {
|
||||||
if (op == OperationCategory.UNCHECKED) {
|
if (op == OperationCategory.UNCHECKED ||
|
||||||
|
op == OperationCategory.CHECKPOINT) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (OperationCategory.JOURNAL != op &&
|
if (OperationCategory.JOURNAL != op &&
|
||||||
|
Loading…
Reference in New Issue
Block a user