public synchronized List<DatasetVersionRecord> getAllValidVersionForDatasetDeletion(short accountId, short containerId,
      String datasetName) throws SQLException, AccountServiceException {
    return datasetDao.getAllValidVersionForDatasetDeletion(accountId, containerId, datasetName);
  }
Get a list of dataset versions which is not expired or been deleted for specific dataset.
@param accountId the id for the parent account.
@param containerId the id of the container.
@param datasetName the name of the dataset.
@return a list of dataset versions which is not expired for specific dataset.
@throws SQLException
ambry-account/src/main/java/com/github/ambry/account/mysql/MySqlAccountStore.java