Module org.elasticsearch.server
Class TransportGetFeatureUpgradeStatusAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<GetFeatureUpgradeStatusRequest,GetFeatureUpgradeStatusResponse>
org.elasticsearch.action.admin.cluster.migration.TransportGetFeatureUpgradeStatusAction
- All Implemented Interfaces:
ActionWithReservedState<GetFeatureUpgradeStatusRequest>
public class TransportGetFeatureUpgradeStatusAction
extends TransportMasterNodeAction<GetFeatureUpgradeStatusRequest,GetFeatureUpgradeStatusResponse>
Transport class for the get feature upgrade status action
-
Field Summary
Modifier and TypeFieldDescriptionstatic final IndexVersion
static final Version
Once all feature migrations for 8.x -> 9.x have been tested, we can bump this to Version.V_8_0_0Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, indexNameExpressionResolver, threadPool, transportService
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager
-
Constructor Summary
ConstructorDescriptionTransportGetFeatureUpgradeStatusAction
(TransportService transportService, ThreadPool threadPool, ActionFilters actionFilters, ClusterService clusterService, IndexNameExpressionResolver indexNameExpressionResolver, PersistentTasksService persistentTasksService, SystemIndices systemIndices) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock
(GetFeatureUpgradeStatusRequest request, ClusterState state) protected void
masterOperation
(Task task, GetFeatureUpgradeStatusRequest request, ClusterState state, ActionListener<GetFeatureUpgradeStatusResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecute
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, localOnly
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.reservedstate.ActionWithReservedState
modifiedKeys, reservedStateHandlerName, validateForReservedState
-
Field Details
-
NO_UPGRADE_REQUIRED_VERSION
Once all feature migrations for 8.x -> 9.x have been tested, we can bump this to Version.V_8_0_0 -
NO_UPGRADE_REQUIRED_INDEX_VERSION
-
-
Constructor Details
-
TransportGetFeatureUpgradeStatusAction
@Inject public TransportGetFeatureUpgradeStatusAction(TransportService transportService, ThreadPool threadPool, ActionFilters actionFilters, ClusterService clusterService, IndexNameExpressionResolver indexNameExpressionResolver, PersistentTasksService persistentTasksService, SystemIndices systemIndices)
-
-
Method Details
-
masterOperation
protected void masterOperation(Task task, GetFeatureUpgradeStatusRequest request, ClusterState state, ActionListener<GetFeatureUpgradeStatusResponse> listener) throws Exception - Specified by:
masterOperation
in classTransportMasterNodeAction<GetFeatureUpgradeStatusRequest,
GetFeatureUpgradeStatusResponse> - Throws:
Exception
-
checkBlock
protected ClusterBlockException checkBlock(GetFeatureUpgradeStatusRequest request, ClusterState state) - Specified by:
checkBlock
in classTransportMasterNodeAction<GetFeatureUpgradeStatusRequest,
GetFeatureUpgradeStatusResponse>
-