loading table of contents...

11.1. Setting Rolling Restart Parameters

When you choose to restart slave components, use parameters to control how restarts of components roll. Parameter values based on ten percent of the total number of components in your cluster are set as default values. For example, default settings for a rolling restart of components in a 3-node cluster restarts one component at a time, waits two minutes between restarts, will proceed if only one failure occurs, and restarts all existing components that run this service.

If you trigger a rolling restart of components, Restart components with stale configs defaults to true. If you trigger a rolling restart of services, Restart services with stale configs defaults to false.

Rolling restart parameter values must satisfy the following criteria:

Validation Rules for Rolling Restart Parameters

Parameter

Required

Value

Description

Batch Size

Yes

Must be an integer > 0

Number of components to include in each restart batch.

Wait Time

Yes

Must be an integer > = 0

Time (in seconds) to wait between queuing each batch of components.

Tolerate up to x failures

Yes

Must be an integer > = 0

Total number of restart failures to tolerate, across all batches, before halting the restarts and not queuing batches.