Re: Locking problem
Re: Locking problem
- Subject: Re: Locking problem
- From: Mike Schrag <email@hidden>
- Date: Mon, 13 Oct 2008 20:14:45 -0400
I don't understand what you say about autoLocking being RR based.
Yep, sorry -- you're right ... Lock coalescing is the one that depends
on the RR loop. That said, I definitely ran into cases where auto-
locking alone was not enough (at least on the web ... maybe it's less
of an issue with JC). What would happen is that you'd have a series
of, say, 5 operations that were logically a single transaction, but
would be 5 individual lock-unlock autolocks, and there would be
changes to the snapshot state inbetween calls that would cause some
weird race conditions. This is actually why I decided to do the lock
coalescing stuff in Wonder, which seemed to clear up the issues. But
not having done JC, maybe this is less of an issue. It only appeared
under higher-than-"normal" load.
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden