[jbossts-issues] [JBoss JIRA] (JBTM-1009) Ensure that the Object Store header for action records is the first item to be packed

Michael Musgrove (JIRA) jira-events at lists.jboss.org
Mon Mar 11 05:38:41 EDT 2013


     [ https://issues.jboss.org/browse/JBTM-1009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Musgrove updated JBTM-1009:
-----------------------------------

        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done

    
> Ensure that the Object Store header for action records is the first item to be packed
> -------------------------------------------------------------------------------------
>
>                 Key: JBTM-1009
>                 URL: https://issues.jboss.org/browse/JBTM-1009
>             Project: JBoss Transaction Manager
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: Transaction Core
>    Affects Versions: 4.16.0.Final
>            Reporter: Michael Musgrove
>            Assignee: Michael Musgrove
>            Priority: Minor
>             Fix For: 5.0.0.Final
>
>
> Clone of https://issues.jboss.org/browse/JBTM-1008 but targeted at trunk:
> Some action classes call super.save_state after save their own state which results in the record header being packed at arbitrary locations within the record. Ideally the tooling (ObjStoreBrowser) would like to read the header without having to know the specific class responsible for the record.
> The equivalent fix for 4.16.0.Final was a quick fix to force offending classes to save/restore the parent classes state before the specific state. A more versatile solution is desirable for trunk, for example change the extension point (for saving state) from say save_state to save_state_impl and provide a final implementation of save_state in StateManager that calls out the classes implementation of save_state_impl after packing the header.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossts-issues mailing list