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

do not invalidate filemetadata cache early #4049

Merged

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Jul 7, 2023

We can postpone overwriting the cache until the metadata has ben written to disk. This prevents other requests trying to read metadata from having to wait for a readlock for the metadata file.

extracted from #4017

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
@butonic butonic self-assigned this Jul 7, 2023
@butonic butonic requested a review from aduffeck July 7, 2023 09:40
@butonic butonic marked this pull request as ready for review July 7, 2023 09:40
@butonic butonic requested review from a team, labkode, ishank011 and glpatcern as code owners July 7, 2023 09:40
@butonic butonic merged commit d629240 into cs3org:edge Jul 7, 2023
@butonic butonic deleted the do-not-invalidate-filemetadata-cache-early branch July 7, 2023 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants