Pearl1594 commented on code in PR #14484:
URL: https://github.com/apache/cloudstack/pull/14484#discussion_r4697431361


##########
server/src/main/java/com/cloud/storage/snapshot/SnapshotManagerImpl.java:
##########
@@ -1638,8 +1638,9 @@ public SnapshotInfo takeSnapshot(VolumeInfo volume) 
throws ResourceAllocationExc
         boolean backupSnapToSecondary = 
isBackupSnapshotToSecondaryForZone(volume.getDataCenterId());
 
         StoragePoolType poolType = volume.getStoragePoolType();
+        boolean isClvmNgIncrementalCandidate = StoragePoolType.CLVM_NG == 
poolType && kvmIncrementalSnapshot.valueIn(clusterId);
 

Review Comment:
    Addressed by a different fix. CLVM_NG incremental is now gated on 
backupSnapToSecondary, so it falls  back to the primary LVM path instead of 
failing.



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