Commit 8a4a256
committed
refactor(vmm): Remove code for restoring old major version snapshots
The snapshot versioning follows the semantic versioning (i.e. snapshot
restore is allowed only if the restore major version is same as the
snapshot major version and the restore minor version is greater than or
equal to the snapshot minor version). We already bumped the major
version up multiple times since we added `mmds_version` state. That
means snapshots taken when `mmds_version` didn't exist are not able to
be restored in the current version. The code to restore such snapshots
is no longer needed.
Signed-off-by: Takahiro Itazuri <[email protected]>1 parent 70745e1 commit 8a4a256
1 file changed
+1
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
559 | | - | |
| 559 | + | |
560 | 560 | | |
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | 564 | | |
574 | 565 | | |
575 | 566 | | |
| |||
0 commit comments