On 11 Jul 2012, at 14:40, Vladimir Blagojevic wrote:
On 12-07-09 3:31 AM, Mircea Markus wrote:
> we use key's CH value to induce an order over the keys written in a transaction -
that's in order to avoid deadlocks. If there are collisions between these values then
there's still a chance for deadlock.
>
Mircea,
I looked at
https://issues.jboss.org/browse/ISPN-1132 and it seems integrated, however, I
could not find relevant API in configuration. Key ordering using CH is turned on by
default?
yes, it's enabled - you can't actually turn it off. The logic is in the
OptimisticLockingInterceptor.visitPrepareCommand