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:06
@backportbot backportbot bot added enhancement 3. to review Waiting for reviews feature: trashbin php Pull requests that update Php code labels May 21, 2025
@backportbot backportbot bot added this to the Nextcloud 31.0.6 milestone May 21, 2025
@artonge artonge force-pushed the backport/52825/stable31 branch from dfd492b to 81de5af Compare May 21, 2025 08:20
@artonge artonge marked this pull request as ready for review May 21, 2025 08:21
@backportbot backportbot bot force-pushed the backport/52825/stable31 branch from 81de5af to 6e4c5d5 Compare May 21, 2025 09:30
@artonge artonge force-pushed the backport/52825/stable31 branch 2 times, most recently from 3a65d5a to a58b3e9 Compare May 21, 2025 09:42
@artonge artonge marked this pull request as draft May 22, 2025 08:26
Copy link
Member

@AndyScherzinger AndyScherzinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘

@artonge artonge marked this pull request as ready for review June 4, 2025 12:36
@artonge artonge marked this pull request as draft June 4, 2025 12:36
@skjnldsv skjnldsv added the ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) label Aug 19, 2025
@AndyScherzinger
Copy link
Member

@artonge merge?

@artonge artonge marked this pull request as ready for review August 28, 2025 08:06
@artonge artonge force-pushed the backport/52825/stable31 branch 3 times, most recently from 69b7391 to cd90ee4 Compare August 28, 2025 08:17
@artonge artonge marked this pull request as draft August 28, 2025 15:45
@backportbot backportbot bot force-pushed the backport/52825/stable31 branch from cd90ee4 to c69e5d9 Compare September 9, 2025 08:27
@artonge artonge force-pushed the backport/52825/stable31 branch from c69e5d9 to c069007 Compare September 9, 2025 14:19
@artonge artonge marked this pull request as ready for review September 9, 2025 14:21
@nextcloud-bot nextcloud-bot mentioned this pull request Sep 10, 2025
17 tasks
@artonge artonge force-pushed the backport/52825/stable31 branch from c069007 to 7d1cdfe Compare September 11, 2025 09:53
Signed-off-by: Louis Chemineau <louis@chmn.me>
…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>
@artonge artonge force-pushed the backport/52825/stable31 branch from 7d1cdfe to 60455d7 Compare September 11, 2025 14:10
@artonge artonge merged commit a9daf61 into stable31 Sep 15, 2025
201 of 212 checks passed
@artonge artonge deleted the backport/52825/stable31 branch September 15, 2025 07:51
@blizzz blizzz mentioned this pull request Oct 14, 2025
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 ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants