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

Michael Musgrove (Created) (JIRA) jira-events at lists.jboss.org
Wed Dec 14 10:36:10 EST 2011


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: Feature Request
      Security Level: Public (Everyone can see)
    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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossts-issues mailing list