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

fix updating cached mounts that didn't have their mount provider set previously #33540

Merged
merged 2 commits into from
Aug 17, 2022

Conversation

icewind1991
Copy link
Member

When a cached mount info has no mount provider set, but it's rootId matches one of the newly registered providers, we might be hitting in a migration case with existing pre-24 mountpoints. So it should be taken in consideration even if it doesn't match the registered mount provider types.

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Aug 15, 2022
@icewind1991 icewind1991 added this to the Nextcloud 25 milestone Aug 15, 2022
@icewind1991 icewind1991 requested review from a team, PVince81, blizzz and CarlSchwan and removed request for a team August 15, 2022 09:59
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

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

👍

@PVince81
Copy link
Member

add unit test if possible ?

@icewind1991
Copy link
Member Author

add unit test if possible ?

done

…previously

Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 force-pushed the mount-provider-migration branch from dd07abc to 887952b Compare August 16, 2022 11:47
@PVince81 PVince81 merged commit 2360d88 into master Aug 17, 2022
@PVince81 PVince81 deleted the mount-provider-migration branch August 17, 2022 08:41
@skjnldsv skjnldsv mentioned this pull request Aug 18, 2022
@PVince81
Copy link
Member

/backport to stable24

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