File tree 1 file changed +2
-1
lines changed
server/src/main/java/org/opensearch/index/recovery
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 27
27
import org .opensearch .cluster .routing .allocation .AllocationService ;
28
28
import org .opensearch .cluster .service .ClusterService ;
29
29
import org .opensearch .common .Nullable ;
30
+ import org .opensearch .common .Priority ;
30
31
import org .opensearch .common .UUIDs ;
31
32
import org .opensearch .common .collect .Tuple ;
32
33
import org .opensearch .common .settings .Settings ;
@@ -95,7 +96,7 @@ public RemoteStoreRestoreService(
95
96
* @param listener restore listener
96
97
*/
97
98
public void restore (RestoreRemoteStoreRequest request , final ActionListener <RestoreService .RestoreCompletionResponse > listener ) {
98
- clusterService .submitStateUpdateTask ("restore[remote_store]" , new ClusterStateUpdateTask () {
99
+ clusterService .submitStateUpdateTask ("restore[remote_store]" , new ClusterStateUpdateTask (Priority . URGENT ) {
99
100
String restoreUUID ;
100
101
RestoreInfo restoreInfo = null ;
101
102
You can’t perform that action at this time.
0 commit comments