Commit 9e39ce7
committed
CA-428532: Ensure db flush is executed in shutdown_agent
In `shutdown_agent`, the `xapi_pre_shutdown` may raise exception,
then the `light_fuse_and_dont_restart` is skipped. A DB data
loss is found because db flush in that funtion is not executed.
Signed-off-by: Changlei Li <changlei.li@citrix.com>1 parent 2f29f5e commit 9e39ce7
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
811 | 811 | | |
812 | 812 | | |
813 | 813 | | |
814 | | - | |
815 | | - | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
816 | 821 | | |
817 | 822 | | |
818 | 823 | | |
| |||
0 commit comments