Skip to content
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

[13] only allow a single concurrent dav write to a file #9392

Merged
merged 1 commit into from
May 23, 2018

Conversation

icewind1991
Copy link
Member

Backport of #9355

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label May 4, 2018
@icewind1991 icewind1991 added this to the Nextcloud 13.0.3 milestone May 4, 2018
@icewind1991 icewind1991 requested review from rullzer and MorrisJobke May 4, 2018 13:09
@MorrisJobke MorrisJobke requested a review from nickvergessen May 7, 2018 13:37
$result = $node->put($data);

$this->fileView->unlockFile($path . '.upload.part', ILockingProvider::LOCK_EXCLUSIVE);
$node->releaseLock(ILockingProvider::LOCK_SHARED);
Copy link
Member

Choose a reason for hiding this comment

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

This is also new?

@rullzer rullzer merged commit 56b8a88 into stable13 May 23, 2018
@rullzer rullzer deleted the dav-upload-lock-13 branch May 23, 2018 18:14
@MorrisJobke MorrisJobke mentioned this pull request May 31, 2018
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants