public class InstallSnapshotHandlerTask extends RaftNodeStatusAwareTask implements Runnable
InstallSnapshot
request sent by leader. Responds with
an AppendSuccessResponse
if snapshot is installed, responds with
an AppendFailureResponse
otherwise.
See 7 Log compaction section of In Search of an Understandable Consensus Algorithm paper by Diego Ongaro and John Ousterhout.
logger, raftNode
Constructor and Description |
---|
InstallSnapshotHandlerTask(RaftNodeImpl raftNode,
InstallSnapshot req) |
Modifier and Type | Method and Description |
---|---|
protected void |
innerRun() |
run
public InstallSnapshotHandlerTask(RaftNodeImpl raftNode, InstallSnapshot req)
protected void innerRun()
innerRun
in class RaftNodeStatusAwareTask
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.