On Mar 12, 2012, at 2:03 PM, Dan Berindei wrote:
On Sat, Mar 10, 2012 at 7:07 PM, Bela Ban <bban(a)redhat.com>
wrote:
> Can you confirm that my understanding of how DIST works is correct ?
>
>
> #1 Non transactional modifications
> - E.g. a PUT
> - The PUT is sent to the primary owner (e.g. B) and all backup owners
> (e.g. C) and is applied immediately, with only local lock acquisition
> (lock-put-unlock)
This is correct, the key lock is acquired in parallel on all the
owners, so two concurrent PUTs could result in different owners having
different values.
Lock acquired in all owners? I thought we only acquired lock in a single node now, the
main owner.
--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache