bengotow / javassonne

Automatically exported from code.google.com/p/javassonne
0 stars 1 forks source link

RMI needs to time out faster! #69

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. connect two clients, A and B
2. quit from client B
3. restart that client B

What is the expected output? What do you see instead?
Expected output would be that client A would remove B. Instead, B remains
for >= 10 seconds while we are waiting for the RMI call to resolve to
timeout. If the B reappears before the timeout, then A will become aware of
it, but will take no action, as it already knows about B. In the meantime,
B will try to contact A but will not receive an ACK, and will assume it has
a firewall. 

Please use labels and text to provide additional information.
It seems like you can just send an ACK from A back to B, and the 2 way LOS
will be restored. But, you need to resolve B in order to send an ACK, and
teh resolve thread is currently waiting for the ghost of B to become
visible, so it will refuse to resolve an already pending host

Original issue reported on code.google.com by hamiltont on 16 Apr 2009 at 4:42