Skip to content

Commit

Permalink
Scale to zero 2nd interation
Browse files Browse the repository at this point in the history
Signed-off-by: Prudhvi Godithi <[email protected]>
  • Loading branch information
prudhvigodithi committed Feb 6, 2025
1 parent 5c32f43 commit d5e7787
Show file tree
Hide file tree
Showing 27 changed files with 883 additions and 737 deletions.
10 changes: 5 additions & 5 deletions server/src/main/java/org/opensearch/action/ActionModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@
import org.opensearch.action.admin.indices.resolve.ResolveIndexAction;
import org.opensearch.action.admin.indices.rollover.RolloverAction;
import org.opensearch.action.admin.indices.rollover.TransportRolloverAction;
import org.opensearch.action.admin.indices.scale.PreScaleSyncAction;
import org.opensearch.action.admin.indices.scale.TransportPreScaleSyncAction;
import org.opensearch.action.admin.indices.searchonly.SearchOnlyAction;
import org.opensearch.action.admin.indices.searchonly.TransportSearchOnlyAction;
import org.opensearch.action.admin.indices.segments.IndicesSegmentsAction;
import org.opensearch.action.admin.indices.segments.PitSegmentsAction;
import org.opensearch.action.admin.indices.segments.TransportIndicesSegmentsAction;
Expand Down Expand Up @@ -422,7 +422,7 @@
import org.opensearch.rest.action.admin.indices.RestResizeHandler;
import org.opensearch.rest.action.admin.indices.RestResolveIndexAction;
import org.opensearch.rest.action.admin.indices.RestRolloverIndexAction;
import org.opensearch.rest.action.admin.indices.RestScaleAction;
import org.opensearch.rest.action.admin.indices.RestSearchonlyAction;
import org.opensearch.rest.action.admin.indices.RestSimulateIndexTemplateAction;
import org.opensearch.rest.action.admin.indices.RestSimulateTemplateAction;
import org.opensearch.rest.action.admin.indices.RestSyncedFlushAction;
Expand Down Expand Up @@ -689,7 +689,7 @@ public <Request extends ActionRequest, Response extends ActionResponse> void reg
actions.register(IndicesAliasesAction.INSTANCE, TransportIndicesAliasesAction.class);
actions.register(UpdateSettingsAction.INSTANCE, TransportUpdateSettingsAction.class);

actions.register(PreScaleSyncAction.INSTANCE, TransportPreScaleSyncAction.class);
actions.register(SearchOnlyAction.INSTANCE, TransportSearchOnlyAction.class);

actions.register(AnalyzeAction.INSTANCE, TransportAnalyzeAction.class);
actions.register(PutIndexTemplateAction.INSTANCE, TransportPutIndexTemplateAction.class);
Expand Down Expand Up @@ -913,7 +913,7 @@ public void initRestHandlers(Supplier<DiscoveryNodes> nodesInCluster) {
registerHandler.accept(new RestUpgradeStatusAction());
registerHandler.accept(new RestClearIndicesCacheAction());

registerHandler.accept(new RestScaleAction());
registerHandler.accept(new RestSearchonlyAction());

registerHandler.accept(new RestIndexAction());
registerHandler.accept(new CreateHandler());
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit d5e7787

Please sign in to comment.