Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Jun 2010 at 05:27 UTC
Updated:
24 Jul 2010 at 02:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedfor reference, here's the issue where we changed from md5 to file times: #513592: Simpletest 7 much slower than 6.
i'd support moving back, as the current checks don't handle the case of different contents, same ctime/mtime. that's clearly an edge case, but given that a registry error can hose your entire site, probably worth covering.
Comment #2
catchSubscribing. #797024: Moving a class between files can cause SQL errors on registry rebuild just doubled the time it takes to install / run simpletests, reverting #513592 looks like it'd add an extra 1/5 (1/5 of what I have not idea), and of course we'll be required to use the more expensive drupal_hash_64() here since md5() isn't cool enough for government bureaucrats.
However the file check already caused one fatal error at #605374: Dont add nonexisting files to the registry so I'd agree with trying to go back to some form of hashing if we can do so without making Drupal uninstallable.
Comment #3
pwolanin commentedHere's a first pass at it.
Comment #4
Anonymous (not verified) commentedlooks good to me, very simple patch, and makes the logic a bit simpler. RTBC.
#2, we've fixed the install speed regression bug.
Comment #5
dries commentedCommitted to CVS HEAD.
Moving this to the HEAD to HEAD project.
Comment #6
rfayIMO it distorts the history quite a lot to take an issue which is a Drupal issue (fix something) and after it's run its course, to assign it to another project with a different purpose (fix what we broke by fixing the other thing).
Can we just open new Head2Head issues for these and leave these things closed?
Our issue queues are hard enough to understand without things hopping projects.
I'm taking the liberty of doing that, if you don't mind. If you disagree, I don't mind.
I took the liberty of creating #850070: Fix: Switch registry back to using hashes not file mtime and ctime
Comment #7
rfayComment #8
pwolanin commentedThanks Dries.
I agree with rfay though - nodes are cheap - let's not move issues around. if you note the need, one of us will happily open a relevant head2head issue.