public class ConsensusModuleSnapshotPendingServiceMessagesPatch extends Object
The tool will attempt to connect to the running MediaDriver and the Archive of the cluster node.
Note: Run the tool only if the cluster is suspended or completely stopped!
| Constructor and Description |
|---|
ConsensusModuleSnapshotPendingServiceMessagesPatch() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(File clusterDir)
Execute the code to patch the latest snapshot.
|
static void |
main(String[] args)
Entry point to launch the tool.
|
public ConsensusModuleSnapshotPendingServiceMessagesPatch()
public boolean execute(File clusterDir)
clusterDir - of the cluster node to run the patch tool on.true if the patch was applied or false if consensus module state was already correct.NullPointerException - if null == clusterDir.IllegalArgumentException - if clusterDir does not exist or is not a directory.ClusterException - if clusterDir does not contain a recording log or if the log does not
contain a valid snapshot.public static void main(String[] args)
args - for the tool.Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.