Bug #123
Detect deceased rmi clients and clean up
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
fixed
Description
If an rmi client goes away (exits, is killed, whatever) while holding
the write lock then mulgara will stay locked up forever. One of the
rmi wrapper classes needs to implement java.rmi.Unreferenced
to get
notified when clients disappear and needs to abort that client's
transaction, if any.
See also http://java.sun.com/j2se/1.5.0/docs/guide/rmi/faq.html#leases2 .
Note that #121 will help here, but catching the unreferenced
notifications has the potential to clean things up much quicker
because in a typical production internal network environment the rmi
lease timeouts can be set much lower than the transaction timeout.
Updated by ronald - over 15 years ago
- Status changed from New to Closed
- Resolution set to fixed