mnpoonia commented on code in PR #6243:
URL: https://github.com/apache/hbase/pull/6243#discussion_r1758466213
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/backup/HFileArchiver.java:
##########
@@ -439,7 +439,7 @@ private static List<File> resolveAndArchive(FileSystem fs,
Path baseArchiveDir,
List<File> failures = new ArrayList<>();
String startTime = Long.toString(start);
- for (File file : toArchive) {
+ toArchive.parallelStream().forEach(file -> {
Review Comment:
This wouldn't be the case as it is an IO operation. So parallelizing it
would improve it over what we already have.
--
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]