Skip to content

Commit

Permalink
Exclude Snapshot Shard Status Update Requests from Circuit Breaker (e…
Browse files Browse the repository at this point in the history
…lastic#55376)

Hotfix to not run into stuck snapshots because of master circuit breaking these requests.
Given that these requests are very small and much of the memory associated with them is already allocated
when the circuit breaker kicks in, the risk of this change introducing a higher chance of master running out
of memory should be very small.

Closes elastic#54714
  • Loading branch information
original-brownbear committed Apr 17, 2020
1 parent 7761b01 commit 9376e24
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -640,7 +640,7 @@ private class UpdateSnapshotStatusAction
UpdateSnapshotStatusAction(TransportService transportService, ClusterService clusterService,
ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver) {
super(
SnapshotShardsService.UPDATE_SNAPSHOT_STATUS_ACTION_NAME, transportService, clusterService, threadPool,
SnapshotShardsService.UPDATE_SNAPSHOT_STATUS_ACTION_NAME, false, transportService, clusterService, threadPool,
actionFilters, UpdateIndexShardSnapshotStatusRequest::new, indexNameExpressionResolver
);
}
Expand Down

0 comments on commit 9376e24

Please sign in to comment.