- All Implemented Interfaces:
- Enclosing interface:
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.cluster.routing.RoutingChangesObserver
Method SummaryModifier and TypeMethodDescription
voidCalled when an initializing replica is reinitialized.
voidCalled on relocation source when relocation completes after relocation target is started.
voidCalled on replica relocation target when replica relocation source fails.
voidCalled when relocation of a started shard is initiated.
voidCalled when started replica is promoted to primary.
voidCalled when a shard is failed or cancelled.
voidCalled when unassigned shard is initialized.
voidCalled when an initializing shard is started.
voidCalled when an unassigned shard's unassigned information was updated
relocationStartedCalled when relocation of a started shard is initiated.
unassignedInfoUpdatedCalled when an unassigned shard's unassigned information was updated
relocationCompletedpublic void relocationCompleted
(ShardRouting removedRelocationSource)Called on relocation source when relocation completes after relocation target is started.
relocationSourceRemovedpublic void relocationSourceRemoved
(ShardRouting removedReplicaRelocationSource)Called on replica relocation target when replica relocation source fails. Promotes the replica relocation target to ordinary initializing shard.
replicaPromotedpublic void replicaPromoted
(ShardRouting replicaShard)Called when started replica is promoted to primary.
initializedReplicaReinitializedpublic void initializedReplicaReinitialized
(ShardRouting oldReplica, ShardRouting reinitializedReplica)Called when an initializing replica is reinitialized. This happens when a primary relocation completes, which reinitializes all currently initializing replicas as their recovery source node changes