Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Because of that PartitionDependencyManagerService takes more than 10 min to complete.
Long regTime = registeredCoordActionMap.get(actionId); if(regTime < (currentTime - timeToLive * 1000)){ CoordinatorActionBean caBean = null; try { caBean = CoordActionQueryExecutor.getInstance().get(CoordActionQuery.GET_COORD_ACTION_STATUS, actionId); } catch (JPAExecutorException e) { LOG.warn("Error in checking coord action:" + actionId + "to purge, skipping", e); } if(caBean != null && !caBean.getStatus().equals(CoordinatorAction.Status.WAITING)){ staleActions.add(actionId); actionItr.remove(); }
Should remove actionId if JPAExecutorException = no row found