HBASE-20842 Infinite loop when replaying remote wals
Signed-off-by: zhangduo <zhangduo@apache.org>
This commit is contained in:
parent
361be53344
commit
3bca01854a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue