Description
In #83562 we introduced a new API for better batching of master tasks, and also the LegacyClusterTaskResultActionListener to adapt old implementations to the new API as a temporary measure. This issue tracks the work to remove this adapter.
Description
In #83562 we introduced a new API for better batching of master tasks, and also the
LegacyClusterTaskResultActionListenerto adapt old implementations to the new API as a temporary measure. This issue tracks the work to remove this adapter.o.e.cluster.LocalMasterServiceTaskando.e.cluster.ClusterStateTaskExecutor#unbatched()(Remove LegacyCTRAListener usage in MasterService #83796)o.e.cluster.coordination.NodeRemovalClusterStateTaskExecutor(Remove LegacyCTRAListener usage in NodeRemovalCSTE #83797)o.e.cluster.coordination.JoinTaskExecutor(Submit batches of joins as single tasks #83803)o.e.cluster.metadata.MetadataIndexStateService(Remove LegacyCTRAListener from open-indices batching #83807)o.e.cluster.metadata.MetadataMappingService(Remove LegacyCTRAListener from MetadataMappingService #83811)o.e.cluster.service.MasterServiceTests(Remove LegacyCTRAListener from MasterServiceTests #83840)o.e.cluster.action.shard.ShardStateAction(Remove LegacyCTRAListener from ShardStateAction #83842)o.e.action.admin.indices.create.AutoCreateAction(Remove LegacyCTRAL from AutoCreateAction #84170)o.e.action.admin.indices.rollover.TransportRolloverAction(Remove LegacyCTRAL from TransportRolloverAction #84166)o.e.action.admin.cluster.desirednodes.DesiredNodesClusterStateTaskExecutor(Remove LegacyCTRAL from desired nodes impl #85984)o.e.snapshots.SnapshotsService(Remove LegacyCTRAL from SnapshotsService #86178)o.e.ingest.IngestService(Remove LegacyCTRAL from IngestService #86446)o.e.cluster.metadata.MetadataIndexTemplateService(Remove LegacyCTRAL from MetadataIndexTemplateService #86459)o.e.cluster.metadata.MetadataUpdateSettingsService(Use custom task instead of generic AckedClusterStateUpdateTask #88643)o.e.xpack.ilm.IndexLifecycleRunner(Remove LegacyClusterTaskResultActionListener #89459)o.e.cluster.ClusterStateTaskListener#clusterStateProcessed()down too.e.cluster.ClusterStateUpdateTasksince it only makes sense for unbatched tasks (Remove LegacyClusterTaskResultActionListener #89459)