|
@@ -119,9 +119,11 @@ public class BlockDeletingService extends BackgroundService{
|
|
|
// configured.
|
|
|
containers = containerSet.chooseContainerForBlockDeletion(
|
|
|
containerLimitPerInterval, containerDeletionPolicy);
|
|
|
- LOG.info("Plan to choose {} containers for block deletion, "
|
|
|
- + "actually returns {} valid containers.",
|
|
|
- containerLimitPerInterval, containers.size());
|
|
|
+ if (containers.size() > 0) {
|
|
|
+ LOG.info("Plan to choose {} containers for block deletion, "
|
|
|
+ + "actually returns {} valid containers.",
|
|
|
+ containerLimitPerInterval, containers.size());
|
|
|
+ }
|
|
|
|
|
|
for(ContainerData container : containers) {
|
|
|
BlockDeletingTask containerTask =
|