private void checkByTargetFilterQueryAndAssignDS ( final TargetFilterQuery targetFilterQuery ) { try { final DistributionSet distributionSet = targetFilterQuery . getAutoAssignDistributionSet ( ) ; int count ; do { count = runTransactionalAssignment ( targetFilterQuery , distributionSet . getId ( ) ) ; } while ( count == PAGE_SIZE ) ; } catch ( PersistenceException | AbstractServerRtException e ) { LOGGER . error ( "Error during auto assign check of target filter query " + targetFilterQuery . getId ( ) , e ) ; } }
Fetches the distribution set gets all controllerIds and assigns the DS to them . Catches PersistenceException and own exceptions derived from AbstractServerRtException