[jboss-dev-forums] [JBoss Transactions Development] - Re: remote tx inflow: timeouts

David Lloyd do-not-reply at jboss.com
Wed Oct 5 11:32:28 EDT 2011


David Lloyd [http://community.jboss.org/people/dmlloyd] created the discussion

"Re: remote tx inflow: timeouts"

To view the discussion, visit: http://community.jboss.org/message/630260#630260

--------------------------------------------------------------
Transport-wise we can definitely propagate timeout information down.  I think we can configure the extra timeout in the client transaction context (with a reasonable default).  And yes, we should be able to rely on the transport for propagating the connection timeout message, assuming that XAResource is informed about timeouts that is (via a rollback message I would assume?).  The extra time value is related to the latency of the connection which can vary based on conditions, but in a normal setup would probably be fairly low (10 seconds or less) I would guess.

We definitely cannot count on synchronized clocks, so each node will be informed of the remaining transaction time upon inflow.

Also we probably need a better term than "fudge factor" in the API... maybe "extra time" or something.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/630260#630260]

Start a new discussion in JBoss Transactions Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2041]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111005/99ce5049/attachment.html 


More information about the jboss-dev-forums mailing list