You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: engine/schema/src/main/java/com/cloud/storage/dao/VolumeStatsDaoImpl.java
+1-8Lines changed: 1 addition & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -126,14 +126,7 @@ public void removeAllByTimestampLessThan(Date limitDate, long limitPerQuery) {
126
126
127
127
logger.debug(String.format("Starting to remove all volume_stats rows older than [%s].", limitDate));
128
128
129
-
longtotalRemoved = 0;
130
-
longremoved;
131
-
132
-
do {
133
-
removed = expunge(sc, limitPerQuery);
134
-
totalRemoved += removed;
135
-
logger.trace(String.format("Removed [%s] volume_stats rows on the last update and a sum of [%s] volume_stats rows older than [%s] until now.", removed, totalRemoved, limitDate));
136
-
} while (limitPerQuery > 0 && removed >= limitPerQuery);
Copy file name to clipboardExpand all lines: engine/schema/src/main/java/com/cloud/vm/dao/VmStatsDaoImpl.java
+1-8Lines changed: 1 addition & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -123,14 +123,7 @@ public void removeAllByTimestampLessThan(Date limitDate, long limitPerQuery) {
123
123
124
124
logger.debug(String.format("Starting to remove all vm_stats rows older than [%s].", limitDate));
125
125
126
-
longtotalRemoved = 0;
127
-
longremoved;
128
-
129
-
do {
130
-
removed = expunge(sc, limitPerQuery);
131
-
totalRemoved += removed;
132
-
logger.trace(String.format("Removed [%s] vm_stats rows on the last update and a sum of [%s] vm_stats rows older than [%s] until now.", removed, totalRemoved, limitDate));
133
-
} while (limitPerQuery > 0 && removed >= limitPerQuery);
Copy file name to clipboardExpand all lines: engine/storage/datamotion/src/main/java/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java
logger.debug(String.format("Copying template [%s] of volume [%s] from source storage pool [%s] to target storage pool [%s].", srcVolumeInfo.getTemplateId(), srcVolumeInfo.getId(), sourceStoragePool.getId(), destStoragePool.getId()));
logger.debug(String.format("Skipping copy template from source storage pool [%s] to target storage pool [%s] before migration due to volume [%s] does not have a template.", sourceStoragePool.getId(), destStoragePool.getId(), srcVolumeInfo.getId()));
logger.debug(String.format("Copying template [%s] of volume [%s] from source storage pool [%s] to target storage pool [%s].", srcVolumeInfo.getTemplateId(), srcVolumeInfo.getId(), sourceStoragePool.getId(), destStoragePool.getId()));
logger.debug(String.format("Skipping copy template from source storage pool [%s] to target storage pool [%s] before migration due to volume [%s] does not have a " +
2169
+
"template or we are doing full clone migration.", sourceStoragePool.getId(), destStoragePool.getId(), srcVolumeInfo.getId()));
0 commit comments