-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
get child ids for folder in a separate query during move #43531
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did not test, is reasonable.
lib/private/Files/Cache/Cache.php
Outdated
} catch (\OC\DatabaseException $e) { | ||
$this->connection->rollBack(); | ||
throw $e; | ||
} | ||
} else { | ||
$this->connection->beginTransaction(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does not have a catch and rollback in the current implementation, it might be worth to add it? (optionally)
0f493e7
to
0bbc355
Compare
0bbc355
to
dddf6ca
Compare
Conflicts |
/backport to stable29 |
/backport to stable28 |
/backport to stable27 |
conflicts |
Signed-off-by: Robin Appelman <robin@icewind.nl>
dddf6ca
to
082c6c6
Compare
This should help reduce lock contention and hopefully resolve some deadlock issues with concurrent moves.