Skip to content

feat: add interface for lower level filecache acess without having to do direct db queries - #44458

Merged
icewind1991 merged 1 commit into
masterfrom
fileacces-interface
Mar 25, 2024
Merged

feat: add interface for lower level filecache acess without having to do direct db queries#44458
icewind1991 merged 1 commit into
masterfrom
fileacces-interface

Conversation

@icewind1991

Copy link
Copy Markdown
Member

Adds and interface for the filecache that is lower level than the "normal" filesystem apis to allow for some more optimized retrieval of filecache data without requiring direct database access.

This will be needed when we start restricting direct database access to the filecache for sharding.

Split from #44044

@icewind1991icewind1991 added the 3. to review Waiting for reviews label Mar 25, 2024
@icewind1991icewind1991 added this to the Nextcloud 29 milestone Mar 25, 2024

@come-nccome-nc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good

Comment threadlib/private/Files/Cache/FileAccess.php
Comment threadlib/private/Files/Cache/FileAccess.php Outdated
Comment threadlib/private/Files/Cache/FileAccess.php Outdated
Comment threadlib/private/Files/Cache/FileAccess.php Outdated
Comment threadlib/public/Files/Cache/IFileAccess.php
Comment threadlib/public/Files/Cache/IFileAccess.php Outdated
Comment threadlib/public/Files/Cache/IFileAccess.php Outdated
Comment threadlib/public/Files/Cache/IFileAccess.php Outdated
… do direct db queries
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 reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@icewind1991@artonge@come-nc