Conversation
438872f to
5da47f1
Compare
5da47f1 to
a2b0e7a
Compare
a2b0e7a to
7d3113f
Compare
7d3113f to
d445da4
Compare
d445da4 to
bf7db95
Compare
|
Is this tested? |
|
The tests are passing to make sure that these changes doesn't break any of the existing functionality. I'll tested with a few days back. Will do tests again and update the PR desc. |
|
Snapshot restore to the same size is not allowed for Simplyblock volumes. So due to this reason WAL PVC creation fails.
will find a solution for this and fix it. |
bf7db95 to
6260952
Compare
|
This issue is fixed in the latest release of sbcli. So I've updated the cluster and tested the changes again. Works good without any additional changes. |
|
|
||
| logger = logging.getLogger(__name__) | ||
|
|
||
| _PITR_WAL_PVC_SIZE_BYTES: int = int(parse_quantity(PITR_WAL_PVC_SIZE)) |
There was a problem hiding this comment.
Why isn't the size itself already in bytes?
There was a problem hiding this comment.
This was already written as 100Gi. For the sake of readability.
fixes: simplyblock/vela#298
When branches with PITR enabled are cloned or restored from a snapshot the WAL PVC should also be considered. this changes makes sure that WAL PVC is also cloned along with DATA PVC>
testing
The current functionality is already tested with the passing tests. Failure for branch start/stop tests are not related.
have created a branch with PITR enabled and cloned the branch and also created a new branch from a backup. both the functionalities work.