zuston commented on code in PR #449:
URL: https://github.com/apache/incubator-uniffle/pull/449#discussion_r1064480588


##########
server/src/main/java/org/apache/uniffle/server/storage/LocalStorageManager.java:
##########
@@ -94,19 +101,26 @@ public class LocalStorageManager extends 
SingleStorageManager {
     // We must make sure the order of `storageBasePaths` and `localStorages` 
is same, or some unit test may be fail
     CountDownLatch countDownLatch = new 
CountDownLatch(storageBasePaths.size());
     AtomicInteger successCount = new AtomicInteger();
+    ServiceLoader<StorageTypeProvider> loader = 
ServiceLoader.load(StorageTypeProvider.class);

Review Comment:
   > I think one is not enough, especially when you need to provide your own 
provider logic.
   
   Could you help provide some examples about needing multiple providers? 



-- 
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]

Reply via email to