HBASE-20842 Infinite loop when replaying remote wals

Signed-off-by: zhangduo <zhangduo@apache.org>
This commit is contained in:
Guanghao Zhang 2018-07-04 15:47:27 +08:00 committed by zhangduo
parent 361be53344
commit 3bca01854a
1 changed files with 3 additions and 2 deletions

View File

@ -161,9 +161,10 @@ public class SyncReplicationReplayWALRemoteProcedure extends Procedure<MasterPro
} catch (FailedRemoteDispatchException e) {
LOG.warn(
"Can not add remote operation for replay wals {} on {} for peer id={}, "
+ "this usually because the server is already dead, retry",
+ "this usually because the server is already dead",
wals, targetServer, peerId);
throw new ProcedureYieldException();
// Return directly and the parent procedure will assign a new worker to replay wals
return null;
}
dispatched = true;
event = new ProcedureEvent<>(this);