Skip to content

Commit 26fd944

Browse files
Exclude Snapshot Shard Status Update Requests from Circuit Breaker (#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 #54714
1 parent 396a291 commit 26fd944

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/snapshots/SnapshotShardsService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ private class UpdateSnapshotStatusAction
641641
UpdateSnapshotStatusAction(TransportService transportService, ClusterService clusterService,
642642
ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver) {
643643
super(
644-
SnapshotShardsService.UPDATE_SNAPSHOT_STATUS_ACTION_NAME, transportService, clusterService, threadPool,
644+
SnapshotShardsService.UPDATE_SNAPSHOT_STATUS_ACTION_NAME, false, transportService, clusterService, threadPool,
645645
actionFilters, UpdateIndexShardSnapshotStatusRequest::new, indexNameExpressionResolver
646646
);
647647
}

0 commit comments

Comments
 (0)