Commit 5c54178
committed
Prevent data corruption for StorPool volumes
Prevents data corruption in cases where a VM is started on a new host while it is already running on another host
Scenario - if the host is down and the admin stops a VM with the
option `force=true` the admin will be able to start it on another host.
This may lead to a data corruption when the first host goes Up and the
volume is attached on both hosts.1 parent 2df1ac5 commit 5c54178
File tree
1 file changed
+11
-0
lines changed- engine/orchestration/src/main/java/com/cloud/vm
1 file changed
+11
-0
lines changedLines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
| |||
409 | 413 | | |
410 | 414 | | |
411 | 415 | | |
| 416 | + | |
| 417 | + | |
412 | 418 | | |
413 | 419 | | |
414 | 420 | | |
| |||
1224 | 1230 | | |
1225 | 1231 | | |
1226 | 1232 | | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
1227 | 1238 | | |
1228 | 1239 | | |
1229 | 1240 | | |
| |||
0 commit comments