Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix restore of multiple folders with many files from trash_bin #45761

Closed

Conversation

mgallien
Copy link
Contributor

@mgallien mgallien commented Jun 10, 2024

Summary

fixes restore from trash bin of multiple folders with many files inside them
switch the DB statement execution method

related to #44504

Some tests were carried, and this simple change seems to fix the issue.

related to #44504

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
@mgallien mgallien requested review from artonge, a team, ArtificialOwl and yemkareems and removed request for a team June 10, 2024 12:42
@mgallien
Copy link
Contributor Author

would backport if approved

@kesselb
Copy link
Contributor

kesselb commented Jun 10, 2024

I assume the retry logic does not work because the wrong exception is caught.

@artonge
Copy link
Contributor

artonge commented Jun 10, 2024

I assume the retry logic does not work because the wrong exception is caught.

🧠

So maybe unwrapping the exception would be enough?

@artonge
Copy link
Contributor

artonge commented Jun 10, 2024

@mgallien can you test #45768 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants