We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5454525 commit f04bf83Copy full SHA for f04bf83
1 file changed
server/src/main/java/com/cloud/storage/StorageManagerImpl.java
@@ -1395,6 +1395,9 @@ public void cleanupSecondaryStorage(boolean recurring) {
1395
_snapshotDao.remove(destroyedSnapshotStoreVO.getSnapshotId());
1396
SnapshotDataStoreVO snapshotOnPrimary = _snapshotStoreDao.findDestroyedReferenceBySnapshot(destroyedSnapshotStoreVO.getSnapshotId(), DataStoreRole.Primary);
1397
if (snapshotOnPrimary != null) {
1398
+ if (s_logger.isDebugEnabled()) {
1399
+ s_logger.debug("Deleting snapshot on primary store reference DB entry: " + snapshotOnPrimary);
1400
+ }
1401
_snapshotStoreDao.remove(snapshotOnPrimary.getId());
1402
}
1403
_snapshotStoreDao.remove(destroyedSnapshotStoreVO.getId());
0 commit comments