Skip to content
This repository was archived by the owner on Jul 14, 2026. It is now read-only.

Disable shares tree cache for flat file lists#7656

Merged
kulmann merged 6 commits into
masterfrom
disable-cached-shares-tree
Sep 20, 2022
Merged

Disable shares tree cache for flat file lists#7656
kulmann merged 6 commits into
masterfrom
disable-cached-shares-tree

Conversation

@JammingBen

@JammingBen JammingBen commented Sep 19, 2022

Copy link
Copy Markdown
Contributor

Description

Shares tree caching is a problem in flat file lists that gather resources from various places (like "Shared with others", "Shared via link", ...). This is an issue because the caching currently happens purely based on the filename. However, these lists can contain multiple resources with the same name.

In the future, we should think about something else that also includes the storage ID. This is necessary anyway because of #7655.

However, we don't have any performance impact by disabling the cache here as we can't navigate into folders anyway.

Motivation and Context

Followup for #7638

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

@JammingBen JammingBen self-assigned this Sep 19, 2022
@JammingBen
JammingBen marked this pull request as ready for review September 19, 2022 11:06
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell B 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@kulmann kulmann 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.

Very good fix, nice! 💪

@kulmann
kulmann merged commit c37c382 into master Sep 20, 2022
@delete-merged-branch
delete-merged-branch Bot deleted the disable-cached-shares-tree branch September 20, 2022 07:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants