Module org.elasticsearch.server
Class ResizeSourceIndexSettingsUpdater
java.lang.Object
org.elasticsearch.cluster.routing.allocation.ResizeSourceIndexSettingsUpdater
- All Implemented Interfaces:
RoutingChangesObserver
A
RoutingChangesObserver
that removes index settings used to resize indices (Clone/Split/Shrink) once all primaries are started.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.cluster.routing.RoutingChangesObserver
RoutingChangesObserver.DelegatingRoutingChangesObserver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyChanges
(Metadata metadata, RoutingTable routingTable) void
shardStarted
(ShardRouting initializingShard, ShardRouting startedShard) Called when an initializing shard is started.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.cluster.routing.RoutingChangesObserver
initializedReplicaReinitialized, relocationCompleted, relocationFailureInfoUpdated, relocationSourceRemoved, relocationStarted, replicaPromoted, shardFailed, shardInitialized, unassignedInfoUpdated
-
Constructor Details
-
ResizeSourceIndexSettingsUpdater
public ResizeSourceIndexSettingsUpdater()
-
-
Method Details
-
shardStarted
Description copied from interface:RoutingChangesObserver
Called when an initializing shard is started.- Specified by:
shardStarted
in interfaceRoutingChangesObserver
-
applyChanges
-