Commit 4ed4f63
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 a4cce70 commit 4ed4f63
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 | | |
| |||
385 | 389 | | |
386 | 390 | | |
387 | 391 | | |
| 392 | + | |
| 393 | + | |
388 | 394 | | |
389 | 395 | | |
390 | 396 | | |
| |||
1204 | 1210 | | |
1205 | 1211 | | |
1206 | 1212 | | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
1207 | 1218 | | |
1208 | 1219 | | |
1209 | 1220 | | |
| |||
0 commit comments