Commit c8731b0
Improve recursive object restore
When restoring a complete bucket stop and raise an error only when
the configuration is set to stop on the first error.
otherwise keep trying to restore the next objects.
Ignore the following errors:
- When the object is currently in transition
- When the object is not concerned by the restore request
(already in standard storage-class etc)
closes #1369
Signed-off-by: Alexandre Lavigne <lavigne958@gmail.com>1 parent dbdee8f commit c8731b0
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
923 | 923 | | |
924 | 924 | | |
925 | 925 | | |
| 926 | + | |
| 927 | + | |
926 | 928 | | |
927 | 929 | | |
928 | 930 | | |
| |||
932 | 934 | | |
933 | 935 | | |
934 | 936 | | |
935 | | - | |
| 937 | + | |
936 | 938 | | |
937 | | - | |
| 939 | + | |
938 | 940 | | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
939 | 945 | | |
940 | 946 | | |
941 | | - | |
| 947 | + | |
942 | 948 | | |
943 | 949 | | |
944 | 950 | | |
| |||
0 commit comments