[Dbix-class] Live object index support ported

Bill Moseley moseley at hank.org
Fri Jul 29 17:41:34 CEST 2005


On Fri, Jul 29, 2005 at 03:27:58PM +0100, Matt S Trout wrote:
> The thing is, if you stash away a bunch of objects to grab later, then
> retrieve and update one of them separately somewhere else, without the
> live object index you'd end up with them being two separate copies so
> the the stashed one would no longer contain the correct values.

Was the problem lazy loading?  If the column was loaded you would get
back the old version, but if it wasn't then you would get back the
new version?

> This is why people tend to turn the live objects index off under mod_perl;
> because it can only enforce intra-process consistency and not inter-process
> consistency it tends to become a problem quite quickly.

I'm not following why it's different under mod_perl.  What problem?


-- 
Bill Moseley
moseley at hank.org




More information about the Dbix-class mailing list