public class ConservativeFailureHandlerPolicy extends Object implements IReconfigurationHandlerPolicy
Created by zlokhandwala on 11/21/16.
Constructor and Description |
---|
ConservativeFailureHandlerPolicy() |
Modifier and Type | Method and Description |
---|---|
Layout |
generateLayout(Layout originalLayout,
CorfuRuntime corfuRuntime,
Set<String> failedNodes,
Set<String> healedNodes)
Modifies the layout by marking the failed nodes as unresponsive but still keeping them in
the layout and sequencer servers lists.
|
public Layout generateLayout(Layout originalLayout, CorfuRuntime corfuRuntime, Set<String> failedNodes, Set<String> healedNodes)
generateLayout
in interface IReconfigurationHandlerPolicy
originalLayout
- Original Layout which needs to be modified.corfuRuntime
- Connected runtime to attach to the new layout.failedNodes
- Set of all failed/defected servers.healedNodes
- Set of all healed/responsive servers.Copyright © 2019 CorfuDB. All rights reserved.