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

Make filecache queries compatible with sharding #46583

Merged
merged 5 commits into from
Jul 19, 2024

Conversation

icewind1991
Copy link
Member

Various tweaks to the filecache queries to make them work with the upcoming sharding work

  • Use named parameters instead of positional ones
  • Explicitly filter by storage id in more places
  • Use parameters instead of literals
  • Remove redundant join condition

Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Jul 17, 2024
@icewind1991 icewind1991 added this to the Nextcloud 30 milestone Jul 17, 2024
@icewind1991 icewind1991 requested review from blizzz, a team, ArtificialOwl, Fenn-CS and sorbaugh and removed request for a team July 17, 2024 13:52
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Copy link
Contributor

@artonge artonge left a comment

Choose a reason for hiding this comment

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

Actually, good anyway, it is just a question :)

@icewind1991 icewind1991 merged commit 64ca4b8 into master Jul 19, 2024
166 checks passed
@icewind1991 icewind1991 deleted the filecache-sharding-compat branch July 19, 2024 07:49
@ChristophWurst
Copy link
Member

Yes? :)

@blizzz blizzz mentioned this pull request Jul 24, 2024
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