2 Replies Latest reply on Jan 12, 2006 4:43 AM by Bela Ban

    Pessimistic locking and temporary nodes

    Bela Ban Master

      FYI, I removed temporary nodes in TransactionEntry: they are not needed anymore.

      To fix TransactionTest.testSimpleRollbackTransactions() (http://jira.jboss.com/jira/browse/JBCACHE-355), I modified DataNode.getOrCreateChildNode(): now when creating a new child node as a result of a put() on a non-existing child node, I simply create an undo operation (e.g. _remove()), which is added to the TransactionTable.
      On rollback(), this will now remove temporary nodes