Bug 135569 - Child of a Non-recording TX incurs the cost of recording anyway
Summary: Child of a Non-recording TX incurs the cost of recording anyway
Status: VERIFIED FIXED
Alias: None
Product: EMF Services
Classification: Modeling
Component: Transaction (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P1 critical
Target Milestone: ---   Edit
Assignee: Christian Damus CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2006-04-07 11:22 EDT by Christian Damus CLA
Modified: 2017-02-24 15:10 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Damus CLA 2006-04-07 11:22:43 EDT
A transaction that has the OPTION_NO_UNDO does not record a change description.
However, all of its children do record changes.  The "inheritance" of this option is accomplished by the child transactions' changes being discarded when committing because their parent transaction has no change description to add them to.

Inheritance of options should be more explicit, by actually propagating the options map to child transactions.
Comment 1 Christian Damus CLA 2006-04-11 11:11:41 EDT
Updated the TransactionImpl constructor to copy options (if any) from the currently active transaction (if any) and overlay the transaction's own options (if any) on those.
Comment 2 Nick Boldt CLA 2008-01-28 16:35:04 EST
Move to verified as per bug 206558.