[jbossts-issues] [JBoss JIRA] Commented: (JBTM-413) Support original LRCO implementation

Mark Little (JIRA) jira-events at lists.jboss.org
Thu Dec 4 05:06:36 EST 2008


    [ https://jira.jboss.org/jira/browse/JBTM-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12441096#action_12441096 ] 

Mark Little commented on JBTM-413:
----------------------------------

Just to be less cryptic: currently during prepare phase the record is the last one to be triggered and if it succeeds we write the log record and move to phase 2. If it fails we abort. This optimises for the case where failures happen (we don't write the log unless we really have to - the LR could fail during commit). Obviously there's a situation where we could crash after the commit and before writing the log and in which case we're in a heuristic. If we shift things so that we do nothing during prepare for the LR (VoteCommit) and drive it to commit during the second phase then a) we write a log all the time, and b) we can still get a failure and end up in a heuristic. This second approach is what we used to do.

> Support original LRCO implementation
> ------------------------------------
>
>                 Key: JBTM-413
>                 URL: https://jira.jboss.org/jira/browse/JBTM-413
>             Project: JBoss Transaction Manager
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Transaction Core
>    Affects Versions: 4.4.0.GA
>            Reporter: Mark Little
>            Assignee: Mark Little
>             Fix For: 4.6
>
>


-- 
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 jbossts-issues mailing list