rhtyd commented on a change in pull request #3480: [WIP DO NOT MERGE] engine, 
server, services: fix for respecting secondary storage threshold limit
URL: https://github.com/apache/cloudstack/pull/3480#discussion_r305917264
 
 

 ##########
 File path: 
engine/api/src/main/java/org/apache/cloudstack/engine/subsystem/api/storage/DataStoreManager.java
 ##########
 @@ -33,7 +33,11 @@
 
     List<DataStore> getImageStoresByScope(ZoneScope scope);
 
-    DataStore getImageStore(long zoneId);
+    DataStore getImageStoreForRead(long zoneId);
+
+    DataStore getImageStoreForWrite(long zoneId);
 
 Review comment:
   How about getImagesStoresWithFreeCapacity?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to