Skip to content

[stable17] add locking to resolve concurent move to trashbin conflicts - #20882

Merged
MorrisJobke merged 1 commit into
stable17from
backport/20841/stable17
May 15, 2020
Merged

[stable17] add locking to resolve concurent move to trashbin conflicts#20882
MorrisJobke merged 1 commit into
stable17from
backport/20841/stable17

Conversation

@backportbot-nextcloud

Copy link
Copy Markdown

backport of #20841

uses a lock to prevent two requests from moving a file to the trashbin concurrently
(causing sql duplicate key errors)
Signed-off-by: Robin Appelman <robin@icewind.nl>

@MorrisJobkeMorrisJobke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Code looks good 👍

@MorrisJobke
MorrisJobke merged commit bccec95 into stable17May 15, 2020
@MorrisJobke
MorrisJobke deleted the backport/20841/stable17 branch May 15, 2020 12:55
@rullzerrullzer mentioned this pull request May 21, 2020
3 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@MorrisJobke@juliusknorr@rullzer@icewind1991