Skip to content

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

Merged
blizzz merged 1 commit into
masterfrom
cache-move-select-children
Jun 13, 2024
Merged

get child ids for folder in a separate query during move#43531
blizzz merged 1 commit into
masterfrom
cache-move-select-children

Conversation

@icewind1991

Copy link
Copy Markdown
Member

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

@icewind1991icewind1991 added the 3. to review Waiting for reviews label Feb 12, 2024
@icewind1991icewind1991 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 teamFebruary 12, 2024 15:17

@blizzzblizzz 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.

did not test, is reasonable.

throw $e;
}
} else {
$this->connection->beginTransaction();

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.

It does not have a catch and rollback in the current implementation, it might be worth to add it? (optionally)

@icewind1991
icewind1991force-pushed the cache-move-select-children branch from 0f493e7 to 0bbc355CompareMarch 7, 2024 15:55
This was referenced Mar 12, 2024
This was referenced Mar 20, 2024
@skjnldsvskjnldsv mentioned this pull request Mar 28, 2024
81 tasks
This was referenced Apr 4, 2024
@blizzzblizzz modified the milestones: Nextcloud 29, Nextcloud 30Apr 8, 2024
@icewind1991
icewind1991force-pushed the cache-move-select-children branch from 0bbc355 to dddf6caCompareMay 22, 2024 13:46
@ChristophWurstChristophWurst mentioned this pull request Jun 12, 2024
1 task
@ChristophWurst

Copy link
Copy Markdown
Member

Conflicts

@ChristophWurst

Copy link
Copy Markdown
Member

/backport to stable29

@ChristophWurst

Copy link
Copy Markdown
Member

/backport to stable28

@ChristophWurst

Copy link
Copy Markdown
Member

/backport to stable27

@blizzz

Copy link
Copy Markdown
Member

conflicts

Signed-off-by: Robin Appelman <robin@icewind.nl>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@icewind1991@ChristophWurst@blizzz