Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 03d9397

Browse files
committed
#338 Fixed order of undeploying servers
"Other" servers need to be undeployed before REST API servers
1 parent 5f67078 commit 03d9397

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/marklogic/appdeployer/command/SortOrderConstants.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,14 @@ public abstract class SortOrderConstants {
112112
public static Integer DELETE_SCHEMAS_DATABASE = 8160;
113113

114114
public static Integer DELETE_REST_API_SERVERS = 7000;
115-
public static Integer DELETE_OTHER_SERVERS = 7010;
116115

117116
// Amps can reference roles and databases, so must delete amps before both (and before deleting REST API servers
118117
// too, which may delete databases)
119118
public static Integer DELETE_AMPS = 2000;
120119

121120
public static Integer DELETE_SCHEDULED_TASKS = 1000;
122121

122+
public static Integer DELETE_OTHER_SERVERS = 750;
123+
123124
public static Integer UNINSTALL_PLUGINS = 500;
124125
}

0 commit comments

Comments
 (0)