Skip to content

Commit 9e932f4

Browse files
authored
ML: removing unnecessary upgrade code (elastic#37879)
1 parent 5cd4dfb commit 9e932f4

File tree

14 files changed

+3
-1626
lines changed

14 files changed

+3
-1626
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackClientPlugin.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@
107107
import org.elasticsearch.xpack.core.ml.action.PutDatafeedAction;
108108
import org.elasticsearch.xpack.core.ml.action.PutFilterAction;
109109
import org.elasticsearch.xpack.core.ml.action.PutJobAction;
110-
import org.elasticsearch.xpack.core.ml.action.MlUpgradeAction;
111110
import org.elasticsearch.xpack.core.ml.action.RevertModelSnapshotAction;
112111
import org.elasticsearch.xpack.core.ml.action.StartDatafeedAction;
113112
import org.elasticsearch.xpack.core.ml.action.StopDatafeedAction;
@@ -292,7 +291,6 @@ public List<Action<? extends ActionResponse>> getClientActions() {
292291
PostCalendarEventsAction.INSTANCE,
293292
PersistJobAction.INSTANCE,
294293
FindFileStructureAction.INSTANCE,
295-
MlUpgradeAction.INSTANCE,
296294
// security
297295
ClearRealmCacheAction.INSTANCE,
298296
ClearRolesCacheAction.INSTANCE,

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/MlUpgradeAction.java

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

x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/action/MlUpgradeRequestTests.java

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

x-pack/plugin/ml/qa/ml-with-security/build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@ integTestRunner {
9393
'ml/validate/Test job config that is invalid only because of the job ID',
9494
'ml/validate_detector/Test invalid detector',
9595
'ml/delete_forecast/Test delete on _all forecasts not allow no forecasts',
96-
'ml/delete_forecast/Test delete forecast on missing forecast',
97-
'ml/ml_upgrade/Upgrade results when there is nothing to upgrade',
98-
'ml/ml_upgrade/Upgrade results when there is nothing to upgrade not waiting for results'
96+
'ml/delete_forecast/Test delete forecast on missing forecast'
9997
].join(',')
10098
}
10199

0 commit comments

Comments
 (0)