Skip to content

[stable30] Fix/lock deletion - #1293

Merged
benjaminfrueh merged 2 commits into
stable30from
backport/897/stable30
Sep 10, 2026
Merged

[stable30] Fix/lock deletion#1293
benjaminfrueh merged 2 commits into
stable30from
backport/897/stable30

Conversation

@backportbot

@backportbot backportbot Bot commented Sep 10, 2026

Copy link
Copy Markdown

Backport of PR #897

Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
This commit fixes an issue with the query logic which prevented locks
from being deleted as long as more than one lock is expired.

To prevent a potential mass deletion of data due to the fix, the code
has been adjusted to delete only 1000 locks at every run of the
background job.

Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
@backportbot backportbot Bot added bug Something isn't working 3. to review labels Sep 10, 2026
@backportbot backportbot Bot added this to the Nextcloud 30 milestone Sep 10, 2026
@benjaminfrueh
benjaminfrueh merged commit 6ac5925 into stable30 Sep 10, 2026
45 checks passed
@benjaminfrueh
benjaminfrueh deleted the backport/897/stable30 branch September 10, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants