Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented May 21, 2025

Backport of #52825

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot backportbot bot requested a review from artonge May 21, 2025 08:05
@backportbot backportbot bot added enhancement 3. to review Waiting for reviews feature: trashbin php Pull requests that update Php code labels May 21, 2025
@artonge artonge force-pushed the backport/52825/stable29 branch from 99d3ca6 to 395e0b4 Compare May 21, 2025 08:13
@artonge artonge force-pushed the backport/52825/stable29 branch from 395e0b4 to 3b75095 Compare May 21, 2025 08:20
@backportbot backportbot bot force-pushed the backport/52825/stable29 branch from 3b75095 to 5af7009 Compare May 21, 2025 09:30
@artonge artonge force-pushed the backport/52825/stable29 branch from 5af7009 to 03c7c6d Compare May 21, 2025 09:36
Signed-off-by: Louis Chemineau <louis@chmn.me>
@artonge artonge force-pushed the backport/52825/stable29 branch from 03c7c6d to 9da31ec Compare May 21, 2025 09:42
@artonge artonge marked this pull request as ready for review May 21, 2025 09:42
@artonge artonge force-pushed the backport/52825/stable29 branch from 9da31ec to 82fb17f Compare May 21, 2025 09:50
…lel run

- Follow-up of #51600

The original PR introduced the possibility to continue an `ExpireTrash` job by saving the offset. This was to prevent having to start over the whole user list when the job crashed or was killed.

But on big instances, one process is not enough to go through all the users in a timely manner. Supporting parallel run allows covering more ground faster.

This PR introduced this possibility. We are now storing the offset right away to allow another parallel job to pick up the task at that point. We are arbitrarily cutting the user list in chunk of 10 to not drastically overflow the 30 minutes time limit.

Signed-off-by: Louis Chemineau <louis@chmn.me>
@skjnldsv skjnldsv closed this Jul 11, 2025
@skjnldsv
Copy link
Member

Closing as stale and EOL branch.
If still required, please resume your work on it by rebasing and requesting for reviews again 🙏

@susnux susnux deleted the backport/52825/stable29 branch November 1, 2025 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement feature: trashbin php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants