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

Invalidate share mount cache when renaming #36159

Closed
wants to merge 1 commit into from

Conversation

PVince81
Copy link
Member

Checklist

Notes

It is still unclear why it worked before, which means this fix might be the wrong approach.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
@PVince81 PVince81 added the 3. to review Waiting for reviews label Jan 16, 2023
@PVince81 PVince81 added this to the Nextcloud 26 milestone Jan 16, 2023
@PVince81 PVince81 self-assigned this Jan 16, 2023
@icewind1991
Copy link
Member

It is still unclear why it worked before, which means this fix might be the wrong approach.

The cachekey previously included the target, so renaming it would cause a cache miss.

An alternative solution would be to have the cachekey include both the share id and target but I'm not sure if there is a real advantage for that over this sollution

@icewind1991
Copy link
Member

Fixes #36153

Copy link
Member

@icewind1991 icewind1991 left a comment

Choose a reason for hiding this comment

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

works

@juliusknorr
Copy link
Member

@PVince81
Copy link
Member Author

closing in favor of #36161

@PVince81 PVince81 closed this Jan 16, 2023
@skjnldsv skjnldsv deleted the bugfix/36153/fix-sharemount-cache-key-logic branch March 14, 2024 07:48
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.

3 participants