Commit 4ab2f40
committed
fix(linstor): handle volume creation failure in clone rollback
A clone rollback may be initiated because the new volume could not be
physically created. This can be detected by checking the `not-exists`
property of this volume.
If this property tells us that the new volume doesn't actually exist,
then we mark it for later deletion by the GC so that rolling back the
UUID of the base VDI doesn't fail later on.
Signed-off-by: Alexandre Sollier <alexandre.sollier@vates.tech>1 parent 8817813 commit 4ab2f40
2 files changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1481 | 1481 | | |
1482 | 1482 | | |
1483 | 1483 | | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
1484 | 1496 | | |
1485 | 1497 | | |
1486 | 1498 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1344 | 1344 | | |
1345 | 1345 | | |
1346 | 1346 | | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
1347 | 1361 | | |
1348 | 1362 | | |
1349 | 1363 | | |
| |||
0 commit comments