Skip to content

Commit 426bb1d

Browse files
fix: remove TransportDownsampleIndexerAction
1 parent 5c54c5f commit 426bb1d

File tree

3 files changed

+0
-205
lines changed

3 files changed

+0
-205
lines changed

x-pack/plugin/downsample/src/main/java/org/elasticsearch/xpack/downsample/Downsample.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
import org.elasticsearch.threadpool.ThreadPool;
3636
import org.elasticsearch.xcontent.NamedXContentRegistry;
3737
import org.elasticsearch.xcontent.ParseField;
38-
import org.elasticsearch.xpack.core.downsample.DownsampleIndexerAction;
3938
import org.elasticsearch.xpack.core.downsample.DownsampleShardPersistentTaskState;
4039
import org.elasticsearch.xpack.core.downsample.DownsampleShardTask;
4140

@@ -66,7 +65,6 @@ public List<ExecutorBuilder<?>> getExecutorBuilders(Settings settings) {
6665
@Override
6766
public List<ActionHandler<? extends ActionRequest, ? extends ActionResponse>> getActions() {
6867
return List.of(
69-
new ActionHandler<>(DownsampleIndexerAction.INSTANCE, TransportDownsampleIndexerAction.class),
7068
new ActionHandler<>(DownsampleAction.INSTANCE, TransportDownsampleAction.class),
7169
new ActionHandler<>(
7270
DownsampleShardPersistentTaskExecutor.DelegatingAction.INSTANCE,

x-pack/plugin/downsample/src/main/java/org/elasticsearch/xpack/downsample/DownsampleMetrics.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
* - Add a constant for its name, following the naming conventions for metrics.
2626
* - Register it in method {@link #doStart}.
2727
* - Add a function for recording its value.
28-
* - If needed, inject {@link DownsampleMetrics} to the action containing the logic
29-
* that records the metric value. For reference, see {@link TransportDownsampleIndexerAction}.
3028
*/
3129
public class DownsampleMetrics extends AbstractLifecycleComponent {
3230

x-pack/plugin/downsample/src/main/java/org/elasticsearch/xpack/downsample/TransportDownsampleIndexerAction.java

Lines changed: 0 additions & 201 deletions
This file was deleted.

0 commit comments

Comments
 (0)