Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1819,8 +1819,8 @@ protected DeltaMergeTreeTO createDeltaMergeTree(boolean childIsVolume, boolean r
succeedingDeltaPaths = gatherSnapshotReferencesOfChildrenSnapshot(List.of(volumeObjectTO), succeedingVmSnapshot).getOrDefault(volumeObjectTO.getVolumeId(), List.of())
.stream().map(SnapshotDataStoreVO::getInstallPath).collect(Collectors.toList());

if (!childIsVolume && !runningVm && succeedingDeltaPaths.isEmpty()) {
succeedingDeltaPaths = List.of(volumeObjectTO.getPath());
if (!childIsVolume && !runningVm && succeedingVmSnapshot.getCurrent()) {
succeedingDeltaPaths.add(volumeObjectTO.getPath());
logger.debug("Since the last backup delta of volume [{}] is succeeded by a snapshot and the delta created by this snapshot is also the volume, it will have to be" +
" rebased. Setting it as the grand-child.", volumeObjectTO.getUuid());
}
Expand Down
Loading