[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: [bt-spec] When to garbage collect cohesions?
Actually the situation I'm considering is more specific than this: the
driver of the cohesion knows that the lifetime of the cohesion as far as
enrolling participants is concerned is about to end when it starts a specific
prepare_inferiors, i.e., no more inferiors will be enrolled (or at least by any
of its own actions). If prepare_inferiors says everything prepared then it will
either decide to confirm or cancel them later. (It does not know which way it
will jump until after issuing prepare, so it can't call confirm_transaction or
cancel_transaction). So, if all of the inferiors say they have cancelled the
coordinator factory/manager implementation should be able to release those
resources since a cancel_transaction is superflous. Likewise, if they all say
resigned.
Mark.
----------------------------------------------
Dr. Mark Little, Distinguished Engineer, Transactions Architect, HP Arjuna Labs Email: mark_little@hp.com Phone: +44 191 2606216 Fax : +44 191 2606250 |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC