Skip to content

Commit f04bf83

Browse files
committed
Add debug message
1 parent 5454525 commit f04bf83

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

server/src/main/java/com/cloud/storage/StorageManagerImpl.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,6 +1395,9 @@ public void cleanupSecondaryStorage(boolean recurring) {
13951395
_snapshotDao.remove(destroyedSnapshotStoreVO.getSnapshotId());
13961396
SnapshotDataStoreVO snapshotOnPrimary = _snapshotStoreDao.findDestroyedReferenceBySnapshot(destroyedSnapshotStoreVO.getSnapshotId(), DataStoreRole.Primary);
13971397
if (snapshotOnPrimary != null) {
1398+
if (s_logger.isDebugEnabled()) {
1399+
s_logger.debug("Deleting snapshot on primary store reference DB entry: " + snapshotOnPrimary);
1400+
}
13981401
_snapshotStoreDao.remove(snapshotOnPrimary.getId());
13991402
}
14001403
_snapshotStoreDao.remove(destroyedSnapshotStoreVO.getId());

0 commit comments

Comments
 (0)