infinispan/infinispan — pull request #1461 by danberindei (2012-11-12 22:57:57+00:00)
Title: ISPN-2472 Transactional commands should not be forwarded to the tx originator

https://issues.jboss.org/browse/ISPN-2472

We don't forward non-tx commands to the command originator either,
but this doesn't fix the problem completely because for non-tx commands
we don't always know the "real" originator of the command (e.g.
if the command was forwarded to us, and we have to forward it again).

For cycles between remote nodes, we just allow a forwarded command to
acquire the same lock again.