Commit 81f5dd2
Allow parallel execution of backup and delete commands
Change executeInSequence() to return false for TakeBackupCommand
and DeleteBackupCommand, allowing the KVM agent to process multiple
backup/delete operations concurrently via its worker thread pool.
Previously, all backup commands were serialized — a large VM backup
(e.g. 100+ GB taking 2+ hours) would block all other backup and
delete operations on the same host. Since each backup mounts its
own temporary NFS directory and operates on independent VM disks,
there is no shared state requiring serialization.
Restore and PrepareForBackupRestoration commands remain sequential
as they modify VM state that should not be concurrent.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 61afb4c commit 81f5dd2
File tree
2 files changed
+2
-2
lines changed- core/src/main/java/org/apache/cloudstack/backup
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
0 commit comments