long getLastPartitionIdVerified() {
    long maxPartitionId = 0;
    try {
      for(File file : new File(replicationConfig.backupCheckerReportDir).listFiles()) {
        maxPartitionId = Math.max(maxPartitionId, Long.parseLong(file.getName()));
      }
    } catch (Throwable e) {
      metrics.backupCheckerRuntimeError.inc();
      logger.error("[BackupIntegrityMonitor] Failed to get last partition-id due to {}, start verification from partition-id 0", e.getMessage());
    }
    return maxPartitionId;
  }
Returns the last partition-id scanned and verified
@return
ambry-cloud/src/main/java/com/github/ambry/cloud/BackupIntegrityMonitor.java