Skip to content

Commit

Permalink
Increase replica_unassigned_buffer_time default from 3s to 5s (elasti…
Browse files Browse the repository at this point in the history
…c#112834)

Increase the default value of health.shards_availability.replica_unassigned_buffer_time to 5 seconds. This values in the identification of unavailable shards on serverless. Increasing the value to 5s keep more shards from going red transiently, while still being low enough to go red quickly if there is an actual availability issue.

Related to elastic#112066
  • Loading branch information
parkertimmins authored Sep 12, 2024
1 parent 6e9ef66 commit 96ac4f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/changelog/112834.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 112834
summary: Increase `replica_unassigned_buffer_time` default from 3s to 5s
area: Health
type: enhancement
issues: []
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public class ShardsAvailabilityHealthIndicatorService implements HealthIndicator
*/
public static final Setting<TimeValue> REPLICA_UNASSIGNED_BUFFER_TIME = Setting.timeSetting(
"health.shards_availability.replica_unassigned_buffer_time",
TimeValue.timeValueSeconds(3),
TimeValue.timeValueSeconds(5),
TimeValue.timeValueSeconds(0),
TimeValue.timeValueSeconds(20),
Setting.Property.NodeScope,
Expand Down

0 comments on commit 96ac4f6

Please sign in to comment.