[jbosscache-issues] [JBoss JIRA] Created: (JBCACHE-1526) GlobalTransaction lost upon buddy fqn transformation of RollbackCommand

Paul Ferraro (JIRA) jira-events at lists.jboss.org
Mon Aug 3 19:34:29 EDT 2009


GlobalTransaction lost upon buddy fqn transformation of RollbackCommand
-----------------------------------------------------------------------

                 Key: JBCACHE-1526
                 URL: https://jira.jboss.org/jira/browse/JBCACHE-1526
             Project: JBoss Cache
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Buddy Replication
    Affects Versions: 3.1.0.GA
            Reporter: Paul Ferraro
            Assignee: Manik Surtani


During EAP5 web session buddy replication testing, the following trace logs caught my attention:

[JBoss] 19:54:53,957 TRACE [org.jboss.cache.buddyreplication.BuddyManager] (ajp-jawa01%2F10.34.32.153-8009-979) Transformed RollbackCommand{gtx=GlobalTransaction:<10.34.32.153:54191>:1331} to RollbackCommand{gtx=null}
[JBoss] 19:54:54,073 TRACE [org.jboss.cache.buddyreplication.BuddyManager] (ajp-jawa01%2F10.34.32.153-8009-981) Transformed RollbackCommand{gtx=GlobalTransaction:<10.34.32.153:54191>:1333} to RollbackCommand{gtx=null}
[JBoss] 19:54:54,073 TRACE [org.jboss.cache.buddyreplication.BuddyManager] (ajp-jawa01%2F10.34.32.153-8009-981) Transformed RollbackCommand{gtx=GlobalTransaction:<10.34.32.153:54191>:1333} to RollbackCommand{gtx=null}

This seems due to the following method in Fqn2BuddyFqnVisitor:

   public Object visitRollbackCommand(InvocationContext ctx, RollbackCommand command) throws Throwable
   {
      return factory.buildRollbackCommand(null);
   }

Shouldn't we be propagating the GlobalTransaction as done in visitCommitCommand(...) and visitPrepareCommand(...)?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosscache-issues mailing list