Skip to content

Conversation

@individual-it
Copy link
Member

This is the rebased copy of the PR #18753

OC\Files\Cache\Updater::update does 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.

@DeepDiver1975 DeepDiver1975 force-pushed the individual-it_skip_unnecessary_cache_updates branch from c9f28fd to ec59be2 Compare October 1, 2015 10:23
VicDeo and others added 9 commits October 2, 2015 00:20
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
fix rebase error
https://github.com/owncloud/core into
individual-it_skip_unnecessary_cache_updates

Conflicts:
	lib/private/files/cache/updater.php
@MorrisJobke MorrisJobke changed the title [jenkins] Skip unnecessary cache updates Skip unnecessary cache updates Oct 13, 2015
@MorrisJobke
Copy link
Contributor

cc @PVince81 @icewind1991 @schiesbn

@MorrisJobke MorrisJobke modified the milestones: 9.1-next, 9.0-current Mar 4, 2016
@PVince81
Copy link
Contributor

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 ?

@PVince81
Copy link
Contributor

Closing due to lack of activity. Not sure how critical the fix is. If it is, feel free to reopen/resubmit.

@PVince81 PVince81 closed this May 20, 2016
@PVince81 PVince81 deleted the individual-it_skip_unnecessary_cache_updates branch May 20, 2016 13:47
@PVince81
Copy link
Contributor

Side note: cache update and etag propagation performance has been improved on other part of the code in 9.0/9.1

@lock
Copy link

lock bot commented Aug 5, 2019

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.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants