[infinispan-dev] Keeping track of locked nodes

Mircea Markus mircea.markus at jboss.com
Thu Jan 19 17:24:30 EST 2012


On 19 Jan 2012, at 19:22, Sanne Grinovero wrote:
> I just noticed that org.infinispan.transaction.LocalTransaction is
> keeping track of Addresses on which locks where acquired.
> That's surprising me .. why should it ever be interested in the
> specific Address? I'd expect it to be able to figure that out when
> needed, especially since the Address owning the lock might change over
> time I don't understand to track for a specific node.
This information is required at least here[1], but not sure wether we cannot rely on the viewId which is now associated with every transaction to replace that logic.
[1] http://bit.ly/wgMIHH




More information about the infinispan-dev mailing list