shwstppr commented on code in PR #7485:
URL: https://github.com/apache/cloudstack/pull/7485#discussion_r1187264956


##########
engine/storage/image/src/main/java/org/apache/cloudstack/storage/image/TemplateServiceImpl.java:
##########
@@ -286,6 +286,23 @@ public void handleSysTemplateDownload(HypervisorType 
hostHyper, Long dcId) {
         }
     }
 
+    protected boolean isSkipTemplateStoreDownload(VMTemplateVO template, Long 
zoneId) {
+        if (template.isPublicTemplate()) {

Review Comment:
   @weizhouapache no.
   Server won't skip download if any of the following condition is true:
   - Template is public
   - Template is featured
   - Template belongs to system
   - Template is marked for the zone but not present in any of the zone 
secondary store
   
   Depending upon download status template status will be set later



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

Reply via email to