Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Currently for ServerKillingMonkeyFactory, actions and policies have hardcoded timeouts.
Action[] actions1 = new Action[] { new RestartRandomRsExceptMetaAction(60000), new RestartActiveMasterAction(5000), // only allow 2 servers to be dead new RollingBatchRestartRsAction(5000, 1.0f, 2, true), new ForceBalancerAction(), new GracefulRollingRestartRsAction(gracefulRollingRestartTSSLeepTime), new RollingBatchSuspendResumeRsAction(rollingBatchSuspendRSSleepTime, rollingBatchSuspendtRSRatio) };
and
return new PolicyBasedChaosMonkey(properties, util, new CompositeSequentialPolicy(new DoActionsOncePolicy(60 * 1000, actions1), new PeriodicRandomActionPolicy(60 * 1000, actions1)), new PeriodicRandomActionPolicy(60 * 1000, actions2)); }
We should allow these to be configurable too.
Attachments
Issue Links
- is a child of
-
HBASE-27740 Support Ozone as a WAL backing storage
- Open
- links to