Skip to content

Commit bc5ef78

Browse files
abh1sarCopilot
andauthored
fix comment
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 9aa4f52 commit bc5ef78

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/backup/nas/src/main/java/org/apache/cloudstack/backup/NASBackupProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,8 +1035,8 @@ private boolean isDeletePending(Backup backup) {
10351035
}
10361036

10371037
/**
1038-
* Whether there are any live (not delete-pending, not Removed) children of {@code parent} within the
1039-
* same chain. Equivalent to "incrementals whose parent_backup_id points at parent".
1038+
* Whether there are any live (not tombstoned/Hidden, not Removed) descendants of {@code backup} within the
1039+
* same chain. This uses {@code CHAIN_POSITION} to detect dependents deeper in the chain.
10401040
*/
10411041
private boolean hasLiveChildren(Backup backup) {
10421042
String chainId = readDetail(backup, NASBackupChainKeys.CHAIN_ID);

0 commit comments

Comments
 (0)