@Override
      public Void invoke() throws AmbariException {
        Set<String>  requestedIds = getRequestPropertyIds(PropertyHelper.getReadRequest(), predicate);

        Set<LdapSyncEventEntity> entities = new HashSet<>();

        for (LdapSyncEventEntity entity : events.values()){
              Resource resource = toResource(entity, requestedIds);
              if (predicate == null || predicate.evaluate(resource)) {
                entities.add(entity);
              }
        }
        for (LdapSyncEventEntity entity : entities) {
          events.remove(entity.getId());
        }
        return null;
      }
Ensure that sync events are being processed.
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/LdapSyncEventResourceProvider.java