zuston commented on code in PR #424:
URL: https://github.com/apache/incubator-uniffle/pull/424#discussion_r1050731392
##########
server/src/main/java/org/apache/uniffle/server/storage/LocalStorageManager.java:
##########
@@ -246,38 +300,70 @@ public void
checkAndClearLeakedShuffleData(Collection<String> appIds) {
}
}
- void repair() {
- boolean hasNewCorruptedStorage = false;
- for (LocalStorage storage : localStorages) {
- if (storage.isCorrupted() &&
!corruptedStorages.contains(storage.getBasePath())) {
- hasNewCorruptedStorage = true;
- corruptedStorages.add(storage.getBasePath());
- }
+ public List<LocalStorage> getStorages() {
+ return localStorages;
+ }
+
+ static class PartitionUnionKey {
Review Comment:
I introduce the `UnionKey` class to wrap the multiple elements as key, the
key type is string type.
--
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]