THUNKED_TM mismatch with TM.TM
Bug #142129 reported by
Brad Clements
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
THUNKED_TM doesn't seem to have kept pace with TM.TM, with respect to using _finalize instance variable. Also, it releases the lock before setting the instance's registered property to 0, which under heavy load can cause the instance to be re-used without being re-registered.
Here's a patch.
Changed in zope2: | |
status: | Confirmed → Triaged |
To post a comment you must log in.
Just wanted to comment about the tpc_abort = abort line at the end of the class.
TM.TM has a similar statement. Since we re-define the abort function, I can't help but feel that tpc_abort still points to the base class (TM.TM) version of abort, not the THUNKED_TM version of abort.
Hence, I added the tpc_abort = abort line. Is that correct?