On 28 Sep 2011, at 12:48, Dan Berindei wrote:


- Do we need the complex PREPARE_VIEW / ROLLBACK_VIEW / COMMIT_VIEW 2PC
handling ? This adds a lot of complexity. Is it only used when we have a
transactional cache ?


Nope, this doesn't have anything to do with transactional caches,
instead it is all about computing the owner that will push the key
during the rebalance operation.

Yes this is what I understood as well.  2-phase view installation to ensure consistency.  Nothing to do with operational transactions.

--
Manik Surtani
manik@jboss.org
twitter.com/maniksurtani

Lead, Infinispan
http://www.infinispan.org