From 019d1337bc0072364de1e2b69dba4aa4fcd85f6b Mon Sep 17 00:00:00 2001 From: Lee Hinman Date: Fri, 3 Nov 2023 12:35:37 -0600 Subject: [PATCH] Visibility changes --- .../shards/ShardsAvailabilityHealthIndicatorService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/cluster/routing/allocation/shards/ShardsAvailabilityHealthIndicatorService.java b/server/src/main/java/org/elasticsearch/cluster/routing/allocation/shards/ShardsAvailabilityHealthIndicatorService.java index f1f5764e1d7e..927493c594db 100644 --- a/server/src/main/java/org/elasticsearch/cluster/routing/allocation/shards/ShardsAvailabilityHealthIndicatorService.java +++ b/server/src/main/java/org/elasticsearch/cluster/routing/allocation/shards/ShardsAvailabilityHealthIndicatorService.java @@ -429,11 +429,11 @@ public class ShardAllocationCounts { int initializing = 0; int started = 0; int relocating = 0; - final Set indicesWithUnavailableShards = new HashSet<>(); - final Set indicesWithAllShardsUnavailable = new HashSet<>(); + protected final Set indicesWithUnavailableShards = new HashSet<>(); + protected final Set indicesWithAllShardsUnavailable = new HashSet<>(); // We keep the searchable snapshots separately as long as the original index is still available // This is checked during the post-processing - SearchableSnapshotsState searchableSnapshotsState = new SearchableSnapshotsState(); + protected SearchableSnapshotsState searchableSnapshotsState = new SearchableSnapshotsState(); final Map> diagnosisDefinitions = new HashMap<>(); public void increment(ShardRouting routing, ClusterState state, NodesShutdownMetadata shutdowns, boolean verbose) {