skattoju4 commented on a change in pull request #3282: [WIP DO NOT MERGE] Fix
slow vm creation when large sf snapshot count
URL: https://github.com/apache/cloudstack/pull/3282#discussion_r278619328
##########
File path:
engine/schema/src/main/java/org/apache/cloudstack/storage/datastore/db/SnapshotDataStoreDao.java
##########
@@ -30,6 +30,8 @@
List<SnapshotDataStoreVO> listByStoreId(long id, DataStoreRole role);
+ List<SnapshotDataStoreVO> listByStoreIdInReadyState(long id);
Review comment:
yup fixed. wasn't sure why state was mapped to
ObjectInDataStoreStateMachine.State and not Snapshot.State ..
----------------------------------------------------------------
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