Skip to content

Commit 6a0d4b4

Browse files
authored
Remote 6.x transport BWC Layer for _shrink (#33236)
The shrink action was renamed to `_resize` with the addition or split. This bwc layer is unnecessary on 7.x since 6.latest will always use the resize action.
1 parent e95c2af commit 6a0d4b4

File tree

2 files changed

+0
-49
lines changed

2 files changed

+0
-49
lines changed

server/src/main/java/org/elasticsearch/action/ActionModule.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,7 @@
131131
import org.elasticsearch.action.admin.indices.shards.IndicesShardStoresAction;
132132
import org.elasticsearch.action.admin.indices.shards.TransportIndicesShardStoresAction;
133133
import org.elasticsearch.action.admin.indices.shrink.ResizeAction;
134-
import org.elasticsearch.action.admin.indices.shrink.ShrinkAction;
135134
import org.elasticsearch.action.admin.indices.shrink.TransportResizeAction;
136-
import org.elasticsearch.action.admin.indices.shrink.TransportShrinkAction;
137135
import org.elasticsearch.action.admin.indices.stats.IndicesStatsAction;
138136
import org.elasticsearch.action.admin.indices.stats.TransportIndicesStatsAction;
139137
import org.elasticsearch.action.admin.indices.template.delete.DeleteIndexTemplateAction;
@@ -446,7 +444,6 @@ public <Request extends ActionRequest, Response extends ActionResponse> void reg
446444
actions.register(IndicesSegmentsAction.INSTANCE, TransportIndicesSegmentsAction.class);
447445
actions.register(IndicesShardStoresAction.INSTANCE, TransportIndicesShardStoresAction.class);
448446
actions.register(CreateIndexAction.INSTANCE, TransportCreateIndexAction.class);
449-
actions.register(ShrinkAction.INSTANCE, TransportShrinkAction.class);
450447
actions.register(ResizeAction.INSTANCE, TransportResizeAction.class);
451448
actions.register(RolloverAction.INSTANCE, TransportRolloverAction.class);
452449
actions.register(DeleteIndexAction.INSTANCE, TransportDeleteIndexAction.class);

server/src/main/java/org/elasticsearch/action/admin/indices/shrink/TransportShrinkAction.java

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

0 commit comments

Comments
 (0)