Re: MasonHQ node caching, and other bugs
Soren Dossing <[email protected]>
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <20050526145223.V57898@localhost> |
I'm afraid that I was a little too optimistic too soon. The old node
caching still seems too happen. I just didn't discover it. If I update the
same page rapidly then in the browser it appears as if each update takes
place. But if I wait a minute or two and edit again, then some random
older page will show up in the edit form. The revision history for a page
is interesting:
History for 'SandBox'
* 1.68 - modified by SorenDossing on 2005-05-26 05:35:54 GMT
view - edit - diff from 1.67
* 1.67 - modified by SorenDossing on 2005-05-26 05:35:44 GMT
view - edit/revert - diff from current - diff from 1.67
* 1.67 - modified by SorenDossing on 2005-05-26 05:36:33 GMT
view - edit/revert - diff from current - diff from 1.67
* 1.67 - modified by SorenDossing on 2005-05-26 05:37:45 GMT
view - edit/revert - diff from current - diff from 1.66
* 1.66 - modified by SorenDossing on 2005-05-26 05:34:08 GMT
view - edit/revert - diff from current - diff from 1.66
* 1.66 - modified by SorenDossing on 2005-05-26 05:35:28 GMT
view - edit/revert - diff from current - diff from 1.66
* 1.66 - modified by SorenDossing on 2005-05-26 05:36:21 GMT
view - edit/revert - diff from current - diff from 1.66
* 1.66 - modified by SorenDossing on 2005-05-26 05:36:59 GMT
view - edit/revert - diff from current - diff from 1.65
* 1.65 - modified by SorenDossing on 2005-04-15 02:32:39 GMT
view - edit/revert - diff from current - diff from 1.65
* 1.65 - modified by SorenDossing on 2005-04-15 02:32:55 GMT
view - edit/revert - diff from current - diff from 1.65
* 1.65 - modified by SorenDossing on 2005-05-26 05:33:16 GMT
view - edit/revert - diff from current - diff from 1.65
* 1.65 - modified by SorenDossing on 2005-05-26 05:35:09 GMT
view - edit/revert - diff from current - diff from 1.64
* 1.64 - modified by SorenDossing on 2005-04-15 02:32:27 GMT
view - edit/revert - diff from current - diff from 1.64
* 1.64 - modified by SorenDossing on 2005-04-15 02:33:07 GMT
view - edit/revert - diff from current - diff from 1.63
* 1.63 - modified by SorenDossing on 2005-04-15 02:31:18 GMT
view - edit/revert - diff from current - diff from 1.63
* 1.63 - modified by SorenDossing on 2005-04-15 02:31:31 GMT
view - edit/revert - diff from current - diff from 1.62
* 1.62 - modified by SorenDossing on 2005-04-15 02:31:02 GMT
view - edit/revert - diff from current - diff from 1.61
* 1.61 - modified by SorenDossing on 2005-04-15 02:30:25 GMT
view - edit/revert - diff from current - diff from 1.60
Same version number is used several times, and not in order.
Now, with this version number mismatch, when I click on a "diff from 1.66
link" I get Internal Server Error and this message in error log:
[Thu May 26 14:43:43 2005] [error] Assertion failed!\t at
/apps/wiki/lib/perl5/site_perl/5.8.6/Carp/Assert.pm line
271\t\tCarp::Assert::assert('') called at /apps/wiki/htdocs/node/diff.html
line 48\t\tHTML::Mason::Commands::__ANON__('version1_id', 1442, 'name',
'SandBox', 'version2_id', 1439, 'node', 'MHQ::Wiki::Node=HASH(0x6937bc)')
called at /apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/Component.pm
line
136\t\tHTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x68f5a4)',
'version1_id', 1442, 'name', 'SandBox', 'version2_id', 1439, 'node',
'MHQ::Wiki::Node=HASH(0x6937bc)', ...) called at
/apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
1074\t\teval {...} called at
/apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
1068\t\tHTML::Mason::Request::comp('undef', 'undef', 'version1_id', 1442,
'name', 'SandBox', 'version2_id', 1439, 'node', ...) called at
/apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
760\t\tHTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x698574)',
'node', 'MHQ::Wiki::Node=HASH(0x6937bc)') called at
/apps/wiki/htdocs/node/autohandler line
30\t\tHTML::Mason::Commands::__ANON__('version1_id', 1442, 'name',
'SandBox', 'version2_id', 1439) called at
/apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/Component.pm line
158\t\tHTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0xfc0354)',
'main', 'version1_id', 1442, 'name', 'SandBox', 'version2_id', 1439)
called at /apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
753\t\tHTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x698574)',
'main', 'version1_id', 1442, 'name', 'SandBox', 'version2_id', 1439)
called at /apps/wiki/masonhq/mason/obj/node/autohandler line
21\t\tHTML::Mason::Commands::__ANON__('version1_id', 1442, 'name',
'SandBox', 'version2_id', 1439) called at
/apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/Component.pm line
136\t\tHTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xfc0354)',
'version1_id', 1442, 'name', 'SandBox', 'version2_id', 1439) called at
/apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
1069\t\teval {...} called at
/apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
1068\t\tHTML::Mason::Request::comp('undef', 'undef', 'version1_id', 1442,
'name', 'SandBox', 'version2_id', 1439) called at
/apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
760\t\tHTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x698574)')
called at /apps/wiki/htdocs/template/autohandler line
33\t\tHTML::Mason::Commands::__ANON__('version1_id', 1442, 'name',
'SandBox', 'version2_id', 1439) called at
/apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/Component.pm line
136\t\tHTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xf357b4)',
'version1_id', 1442, 'name', 'SandBox', 'version2_id', 1439) called at
/apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
1069\t\teval {...} called at
/apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
1068\t\tHTML::Mason::Request::comp('undef', 'undef', 'undef',
'version1_id', 1442, 'name', 'SandBox', 'version2_id', 1439, ...) called
at /apps/wiki/htdocs/sys/handler line 44\t\teval {...} called at
/apps/wiki/htdocs/sys/handler line
21\t\tHTML::Mason::Commands::__ANON__('version1_id', 1442, 'name',
'SandBox', 'version2_id', 1439) called at
/apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/Component.pm line
136\t\tHTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xf3a42c)',
'version1_id', 1442, 'name', 'SandBox', 'version2_id', 1439) called at
/apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
1069\t\teval {...} called at
/apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
1068\t\tHTML::Mason::Request::comp('undef', 'undef', 'undef',
'version1_id', 1442, 'name', 'SandBox', 'version2_id', 1439, ...) called
at /apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
338\t\teval {...} called at
/apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
338\t\teval {...} called at
/apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
297\t\tHTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x698574)')
called at /apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/ApacheHandler.pm
line 134\t\teval {...} called at
/apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/ApacheHandler.pm line
134\t\tHTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x698574)')
called at /apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/ApacheHandler.pm
line
827\t\tHTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0xf105f0)',
'Apache=SCALAR(0x697d4c)') called at
/apps/wiki/masonhq/conf/handler-prod.pl line
33\t\tHTML::Mason::handler('Apache=SCALAR(0x697d4c)') called at /dev/null
line 0\t\teval {...} called at /dev/null line 0\t\tStack:
[/apps/wiki/lib/perl5/5.8.6/Carp.pm:270],
[/apps/wiki/lib/perl5/site_perl/5.8.6/Carp/Assert.pm:271],
[/apps/wiki/htdocs/node/diff.html:48],
[/apps/wiki/htdocs/node/autohandler:30],
[/apps/wiki/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm:753],
[/apps/wiki/masonhq/mason/obj/node/autohandler:21],
[/apps/wiki/htdocs/template/autohandler:33],
[/apps/wiki/htdocs/sys/handler:44]\n
How can I find out why the node caching occurs? Or is it the node version
number that is cached?
Soren
-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click