Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Shailendra Singh committed Jun 6, 2024
1 parent d1268cb commit 345b73e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ void deleteClusterMetadata(
clusterMetadataManifest.getIndicesRouting().forEach(uploadedIndicesRouting -> {
if (filesToKeep.contains(uploadedIndicesRouting.getUploadedFilename()) == false){
staleIndexRoutingPaths.add(new BlobPath().buildAsString() + uploadedIndicesRouting.getUploadedFilename());
logger.debug("Indices routing paths in stale manifest: {}", uploadedIndicesRouting.getUploadedFilename());
logger.debug(() -> "Indices routing paths in stale manifest: " + uploadedIndicesRouting.getUploadedFilename());
}
});
}
Expand Down Expand Up @@ -361,7 +361,7 @@ void deleteStalePaths(String clusterName, String clusterUUID, List<String> stale
}

void deleteStaleIndexRoutingPaths(List<String> stalePaths) throws IOException {
logger.debug(String.format(Locale.ROOT, "Deleting stale index routing files from remote - %s", stalePaths));
logger.debug(() -> String.format(Locale.ROOT, "Deleting stale index routing files from remote - %s", stalePaths));
getBlobStoreTransferService().deleteBlobs(
BlobPath.cleanPath(),
stalePaths
Expand Down

0 comments on commit 345b73e

Please sign in to comment.