Skip to content

Skip unnecessary cache updates - #19494

Closed
individual-it wants to merge 14 commits into
masterfrom
individual-it_skip_unnecessary_cache_updates
Closed

individual-it wants to merge 14 commits into
masterfrom
individual-it_skip_unnecessary_cache_updates

Conversation

@individual-it

Copy link
Copy Markdown
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
@MorrisJobke MorrisJobke changed the title [jenkins] Skip unnecessary cache updates Skip unnecessary cache updates Oct 13, 2015
@MorrisJobke

Copy link
Copy Markdown
Contributor

cc @PVince81 @icewind1991 @schiesbn

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

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

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

@lock

lock Bot commented Aug 5, 2019

Copy link
Copy Markdown

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.

5 participants