delete files before cleaning cache when cleaning user files#30510
delete files before cleaning cache when cleaning user files#30510
Conversation
|
/backport to stable23 |
|
/backport to stable22 |
|
@icewind1991 we might still be missing a cleanup job that will remove orphaned object store entries that have no matching filecache entries ? (separate issue) |
|
/rebase |
otherwise, when using object store, we loose track of which files the user owns before we can delete them Signed-off-by: Robin Appelman <robin@icewind.nl>
83d73b5 to
db3093a
Compare
|
Thanks for the PR it is nice! @PVince81 we just created a little go job to do just that: We thought first to do it in php, but well, we don't have that much experience in php, and with the goroutine and the 100k of objects we had to clean 🤷♂️ |
|
so, should reset the label to 2 - developing? |
|
this PR is still valid as it should prevent future cases |
|
/backport to stable24 |
|
The backport to stable24 failed. Please do this backport manually. |
|
The backport to stable23 failed. Please do this backport manually. |
|
The backport to stable22 failed. Please do this backport manually. |
otherwise, when using object store, we loose track of which files the user owns before we can delete them
Signed-off-by: Robin Appelman robin@icewind.nl