sadanand48 commented on code in PR #8963:
URL: https://github.com/apache/ozone/pull/8963#discussion_r2297498048
##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/DBCheckpointServlet.java:
##########
@@ -278,6 +279,16 @@ public void
processMetadataSnapshotRequest(HttpServletRequest request, HttpServl
}
protected static Set<String> extractSstFilesToExclude(String[] sstParam) {
+ Set<String> receivedSstFiles = new HashSet<>();
+ if (sstParam != null) {
+ receivedSstFiles.addAll(
+ Arrays.stream(sstParam).filter(s ->
s.endsWith(ROCKSDB_SST_SUFFIX)).distinct().collect(Collectors.toList()));
Review Comment:
This is just a revert of old code as per old implementation. I had modified
some util methods as part of some tasks in HDDS-12984
https://github.com/apache/ozone/pull/8761/files#diff-8f8a9ef7fcf15970b94259f3d8dbe5a3d553dc8d10f0bce7cddebf28ada08b4cR284
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]