-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
[stable20] Optimize FileSystemTags workflow for groupfolder #30681
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
Conversation
In #28774 we disabled the caching for the groupfolder application since it worked due to the fact that in groupfolders, getFileIds could be called with the same $cacheId and path for actually different groupfolders. This revert this change and instead add the folderId from the groupFolder to the cacheId. This solve the issue of the uniqueness of the cacheId inside GroupFolder. Downside is that we introduce groupfolder specific implementation inside the server repo. The seconf optimization is to not consider paths starting with __groupfolders in executeCheck. This is due to the fact that files in the groupfolder application call two times executeCheck one time with the url __groupfolder/<folderId>/<path> and the other time with <path>. The first time will always return an empty systemTags array while the second call will return the correct system tags. Signed-off-by: Carl Schwan <[email protected]>
Don't call twice $cache->getId Signed-off-by: Carl Schwan <[email protected]>
Signed-off-by: Carl Schwan <[email protected]>
|
Do we still backport to stable20? I thought only the last 3 version are targets for backports (21 - 23). |
For some specific change, we still do e.g. #30668 |
|
php cs is not happy |
The backport is heavily broken, half of the diff is missing. |
9636384 to
ab01174
Compare
Signed-off-by: Carl Schwan <[email protected]>
ab01174 to
e5c54bd
Compare
PVince81
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
backport of #30531