Michael Kublin has uploaded a new change for review. Change subject: core: On scale environment restart jbossas service causes initialization of Engine.ear to fail on timeout ......................................................................
core: On scale environment restart jbossas service causes initialization of Engine.ear to fail on timeout The following problem occurred during restart of jboss, the most long process which take around 50 minutes was init of MacPoolManger, the reason is a number of vms which were defined at system. A process of init is retrieves all vms from db and after that tries to retrieve all theirs network interfaces, that process can take a while. Proposed solution: 1. Remove unneeded inits from InitBackendServicesOnStartupBean 2. Start init of MacPoolManager at separate thread 3. Optimization of MacPoolManger : start using HashSet instead of List, paying memory, reducing a time 4. Fixing bug with possible ConcurrentModificationException 5. Small clean up Change-Id: If3bab39681d92a455aef8d642dcb74dde144b396 Signed-off-by: Michael Kublin <[email protected]> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/InitBackendServicesOnStartupBean.java M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MacPoolManager.java 2 files changed, 26 insertions(+), 19 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/65/5665/1 -- To view, visit http://gerrit.ovirt.org/5665 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If3bab39681d92a455aef8d642dcb74dde144b396 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Michael Kublin <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
