-
Bug
-
Resolution: Obsolete
-
Critical
-
OADP 1.3.0
-
1
-
False
-
-
False
-
ToDo
-
-
-
0
-
Very Likely
-
0
-
None
-
Unset
-
Unknown
-
Yes
Description of problem:
Following the bug: https://issues.redhat.com/browse/OADP-1167
While restoring the first time (without existing-resource-policy: update flag) - the time is 55min - double from OADP 1.1.0 results. - it is a regression bug
while restoring the 2nd & 3rd time with existing-resource-policy: update flag - the time is 28min - half from OADP 1.1.0 results.
Version-Release number of selected component (if applicable):
OCP 4.12.9
ODF 4.12.9-rhodf
OADP 1.3.0-138
How reproducible:
Steps to Reproduce:
1. Create namespace with 33K secerts
2. Run backup
3. Delete the namespace
4. run 1st restore
5. run a few restores with existing-resource-policy: update flag
Actual results:
first restore completed OK but the duration is double from OADP 1.1.0 results
Expected results:
first restore complete OK with at least the same duration as OADP 1.1.0 results
Additional info:
Just to clarify – the additional time needed to restore new resources is not a consequence of fixing existing resources, it's actually a result of a change added to Velero 1.10 (first introduced in OADP 1.2), before any of the existing resource performance work was done. The reason this takes longer now is that Velero now restores the managed fields struct for resources as well, but this cannot be done in the original `Create` call, as that field is discarded, so the resource must be Updated post-creation, which doubles the number of API calls required per item, resulting in approximately doubling the time required to restore each (non-PVC) resource.