mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7884: Cloudstack MS is not responding (happening randomly) after some restart.
(cherry picked from commit 2ef06e754b)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
ac371070b4
commit
a2a7e391b0
|
|
@ -61,6 +61,7 @@ import com.cloud.cluster.ManagementServerHost;
|
|||
import com.cloud.utils.DateUtil;
|
||||
import com.cloud.utils.Pair;
|
||||
import com.cloud.utils.Predicate;
|
||||
import com.cloud.utils.component.ComponentLifecycle;
|
||||
import com.cloud.utils.component.ManagerBase;
|
||||
import com.cloud.utils.concurrency.NamedThreadFactory;
|
||||
import com.cloud.utils.db.DB;
|
||||
|
|
@ -1011,7 +1012,9 @@ public class AsyncJobManagerImpl extends ManagerBase implements AsyncJobManager,
|
|||
private GenericSearchBuilder<AsyncJobJoinMapVO, Long> JoinJobTimeSearch;
|
||||
|
||||
protected AsyncJobManagerImpl() {
|
||||
|
||||
// override default run level for manager components to start this early, otherwise, VirtualMachineManagerImpl will
|
||||
// get stuck in non-initializing job queue
|
||||
setRunLevel(ComponentLifecycle.RUN_LEVEL_FRAMEWORK);
|
||||
}
|
||||
|
||||
private void publishOnEventBus(AsyncJob job, String jobEvent) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue