Commit a0f2ab5
Zhang Wenhao
<feature>[kvm]: use SQLBatch for TPM state reset
Combine two separate delete operations for VmHostFileVO and
VmHostBackupFileVO into a single SQLBatch transaction.
This reduces database transaction overhead and improves
performance during TPM state reset.
Resolves: ZSV-11440
Related: ZSV-11310
Change-Id: I6b6f73786e6e736475686771747065686676726a1 parent 1eab431 commit a0f2ab5
1 file changed
Lines changed: 14 additions & 8 deletions
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
430 | 431 | | |
431 | 432 | | |
432 | 433 | | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
441 | 447 | | |
442 | 448 | | |
443 | 449 | | |
| |||
0 commit comments