Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jan 2013 at 14:17 UTC
Updated:
3 Apr 2013 at 19:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
Pedro Lozano commentedThis patch solves the problem and I think it doesn't cause any side effects.
Comment #2
dawehnerThis is looking pretty good, and similiar to Drupal 8 :)
Comment #3
Pedro Lozano commentedPosted a patch for D8 at #1889810: Performance, unnecessary views cache rebuilds.
Comment #4
andrewbelcher commentedI can confirm that this solved the problem. Attempting to clear caches was timing out for me, and even drush was taking more than 10 minutes just for a
cc menu. With this patch it took seconds. This would be a really helpful patch to have committed!Comment #5
dawehnerMy question is: Why does something asks for a views table which does not exist?
One example could be a view in the system, for a table that does not exist, feel somehow wrong, but I agree we should fix that.
Comment #6
andrewbelcher commentedOur example was a module that had been disabled. But there were still views in the database built on an entity created by the disabled module...
It seems odd to be tracking
$fully_loadedbut not always respecting it...Comment #7
Pedro Lozano commentedIn my case, it was some old broken views that were using fields that no longer existed. For each broken field, two views data cache rebuilds were performed.
Comment #8
andypost+1 to commit, in my case this was caused by broken view (used fields that was deleted)
Comment #9
dawehnerAwesome, thanks for providing a patch and testing it!
Committed and pushed