[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: Managers, addressses and the like
Fine, as long as there's something to which we can direct a BEGIN, and get
back a CONTEXT.
Hmm. A sub-coordinator going heuristic because of a presumed timeout, caused by time skew, is not a happy outcome.I did not mention anything about heuristic. These are quite distinct timeouts. One is the participant saying
(essentially) "OK, you've prepare me, so now you'd better confirm within X time
units or I'm going to do something myself." Whereas the other is a message to
the coordinator saying "if you don't hear from me within Y time units then undo
automatically *iff* you haven't got past prepare". The OTS has the second
timeout explicitly, whereas the first (if it exists at all) exists purely within
the resource and this doesn't get communicated to the coordinator (at least not
within the bounds of the protocol).
The first timeout is very useful for failure situations involving the
coordinator, *and* more importantly in the environment in which BTP will exist,
for denial of service attacks. The second timeout is more a business-logic
decision, and some implementations of BTP could use this to configure their
subsequent higher-level requests, e.g., if the first participant tells me it can
only hold for 20 seconds I may be able to tell the next participant that if it
can't complete within (say) 10 seconds it needn't bother.
As I said above, it depends on which timeout we're talking about. What I'd
like to see is that the coordinator timeout *always* results in a CANCEL iff it
hasn't been told to prepare, i.e., after prepare starts, this timeout is
ignored. The second timeout (the participant one) will have an affect that will
depend on the participant, i.e., it may CANCEL or CONFIRM itself, leading to
heuristics.
No, the only clock that stops is the
coordinator one once PREPARE is sent. Participant timeouts are still
running.
The minutes are therefore inaccurate, because I distinctly remember us
(Peter, myself and several of the BEA representatives) discussing this point
precisely because Peter had put in his email a point about not knowing why we
would ever want to send a coordinator-specific timeout with the context.
Hopefully the above will have fixed this.
Mark.
-----------------------------------------------------------------------
SENDER : Dr. Mark Little, Architect (Transactions), HP Arjuna Labs PHONE : +44 191 206 4538, FAX : +44 207 670 1964 EMAIL : mark@arjuna.com |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC