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

get child ids for folder in a separate query during move #43531

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

icewind1991
Copy link
Member

This should help reduce lock contention and hopefully resolve some deadlock issues with concurrent moves.

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Feb 12, 2024
@icewind1991 icewind1991 added this to the Nextcloud 29 milestone Feb 12, 2024
@icewind1991 icewind1991 requested review from a team, ArtificialOwl, blizzz and nfebe and removed request for a team February 12, 2024 15:17
Copy link
Member

@blizzz blizzz left a 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.

} catch (\OC\DatabaseException $e) {
$this->connection->rollBack();
throw $e;
}
} else {
$this->connection->beginTransaction();
Copy link
Member

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)

This was referenced Mar 12, 2024
This was referenced Mar 20, 2024
@skjnldsv skjnldsv mentioned this pull request Mar 28, 2024
81 tasks
This was referenced Apr 4, 2024
@blizzz blizzz modified the milestones: Nextcloud 29, Nextcloud 30 Apr 8, 2024
@ChristophWurst ChristophWurst mentioned this pull request Jun 12, 2024
1 task
@ChristophWurst
Copy link
Member

Conflicts

@ChristophWurst
Copy link
Member

/backport to stable29

@ChristophWurst
Copy link
Member

/backport to stable28

@ChristophWurst
Copy link
Member

/backport to stable27

@blizzz
Copy link
Member

blizzz commented Jun 12, 2024

conflicts

Signed-off-by: Robin Appelman <robin@icewind.nl>
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 bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants