public void selectInactiveContainersAndMarkInStore(AggregatedAccountStorageStats aggregatedAccountStorageStats) {
    Set<Container> inactiveContainerCandidateSet =
        AccountUtils.selectInactiveContainerCandidates(aggregatedAccountStorageStats,
            getContainersByStatus(Container.ContainerStatus.DELETE_IN_PROGRESS));
    try {
      markContainersInactive(inactiveContainerCandidateSet);
    } catch (InterruptedException e) {
      logger.error("Mark inactive container in zookeeper is interrupted", e);
    }
  }
Selects {@link Container}s to be marked as INACTIVE and marked in underlying account store.
ambry-account/src/main/java/com/github/ambry/account/AbstractAccountService.java