-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
fix: Stop infinite loop in ExpireTrash #55290
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: Stop infinite loop in ExpireTrash #55290
Conversation
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
miaulalala
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense
|
/backport to stable32 |
|
The backport to # Switch to the target branch and update it
git checkout stable32
git pull origin stable32
# Create the new backport branch
git checkout -b backport/55290/stable32
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 58440bfc
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/55290/stable32Error: Failed to push branch backport/55290/stable32: remote: {"auth_status":"auth_error","body":"Invalid username or token. Password authentication is not supported for Git operations."} Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |
|
/backport to stable32 |
|
Since the original PR was backported to 31 and 30, should this be backported too (to 31 at least) ? |
|
/backport to stable31 |
|
/backport to stable30 |
|
/backport to stable31 |
Summary
After updating to NC32, I noticed that cronjobs would not end anymore. Checking the DB revealed:
There seems to be no exit condition, so we loop over all users for 30 minutes. From the mysql log:
The original PR is about parallel runs, we might need a different check in that case, not totally sure.
Checklist
3. to review, feature component)stable32)