Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cybozu-go/mantle
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1e57133036358920060982f73d77bdae6a8a7b59
Choose a base ref
..
head repository: cybozu-go/mantle
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c39b66063809b766767f45e603ef25f41b736181
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/design.md
4 changes: 2 additions & 2 deletions docs/design.md
Original file line number Diff line number Diff line change
@@ -160,8 +160,8 @@ Precondition: Process will not start until conditions are met.
### Cleanup restore flow

1. Users delete the `MantleRestore` resource.
2. The controller tries to delete the PV/PVC created by the `MantleRestore` resource and wait until the PV/PVC are deleted. If the PV/PVC are consumed by some pods.
3. The controller removes the RBD clone created by the `MantleRestore` resource. The controller should not remove RBD clone volume specified by the PV.
2. The controller tries to delete the PV/PVC created by the `MantleRestore` resource and wait until the Pod consuming the PV/PVC are stopped and deleted.
3. The controller removes the RBD clone image created by the `MantleRestore` resource. However, the controller should not remove the RBD clone image if the previous step is not completed and a PV/PVC exists.

#### The manifest to get restore PV/PVC from a backup