-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Skip unnecessary cache updates #19494
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
Skip unnecessary cache updates #19494
Conversation
this way unnecessary updates can be skipped
the folder size will not change when changing the file mtime
change was in wrong routing tidy up
c9f28fd to
ec59be2
Compare
Display checkboxes properly after file restore
this way unnecessary updates can be skipped
the folder size will not change when changing the file mtime
change was in wrong routing tidy up
https://github.com/owncloud/core into individual-it_skip_unnecessary_cache_updates Conflicts: lib/private/files/cache/updater.php
|
cc @PVince81 @icewind1991 @schiesbn |
|
Unfortunately the code now has move to the "apps/dav" app so this would need another rebase. But I'd like to know what @icewind1991 thinks of this approach and whether there is a better way that doesn't involve passing around a flag. Does the new improved propagation cover this ? |
|
Closing due to lack of activity. Not sure how critical the fix is. If it is, feel free to reopen/resubmit. |
|
Side note: cache update and etag propagation performance has been improved on other part of the code in 9.0/9.1 |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This is the rebased copy of the PR #18753
OC\Files\Cache\Updater::updatedoes a couple of updates. Not all are needed in every case the method is called.In this example if
touch()only is changing the mtime we should skip the update of the folder size as that would not change.