[infinispan-dev] XAResource.isSameRM
Mark Little
mlittle at redhat.com
Fri Jan 7 07:33:13 EST 2011
On 6 Jan 2011, at 11:48, Jonathan Halliday wrote:
>
>> Is it common/possible for people to use TM _without_ recovery? If so, this "held heuristic completed TX" functionality should be configurable (enabled/disabled) in order to avoid memory leaks (no recovery means .forget never gets called)
>
> It is not common. That said, JBossTS has for similar reasons
> got a 'give up after N hours' config option which will
> eventually abandon tx that have not recovered. It's off
> (i.e. never give up) by default but a small number of users
> find it handy. Most just use the admin tooling to manually
> clean up the small number of unrecoverable situations - it's
> safer in most cases.
That option is there because sometimes machines don't recover. The assumption behind transactions is that failed machines do eventually recover, but the realities are sometimes slightly different. Or sys admins decide to recover a machine's state on a different machine, with a different IP address, and expect things (e.g., the TM) to be omniscient and figure it all out ;-)
Mark.
---
Mark Little
mlittle at redhat.com
JBoss, by Red Hat
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom.
Registered in UK and Wales under Company Registration No. 3798903 Directors: Michael Cunningham (USA), Charlie Peters (USA), Matt Parsons (USA) and Brendan Lane (Ireland).
More information about the infinispan-dev
mailing list