fogbow / fogbow-mono-manager

Other
6 stars 3 forks source link

Some requests are always open #156

Closed giovannifs closed 9 years ago

giovannifs commented 9 years ago

Some requests are considered fulfilled even been open.

The thread that check and submit open requests is canceled and these requests are considered fulfilled (in other words, when the manager gets all open requests from request repository they are not returned).

This problem happened when the requests were submited to one manager, but this may not be only a one plugin problem.

giovannifs commented 9 years ago

In fact, the thread that check and submit open requests never is canceled, and the requests are not considered because they had been sent to remote members asynchronously and had not got any response yet. This response never arrived and the requests were open forever.

Trying to understand what happens, we debugged the manager and XMPP server at both sides (servers and upv). There is a XMPP message that "servers" server sends but does not arrive in upv server. (follows "servers" XMPP server log image and the lost IQ is 870-29786) 870-29786 iq does not arrive in manager i3m upv es

To solve this problem, we'll develop timeout for forwarded requests.

giovannifs commented 9 years ago

We implemented timeout for requests forwarded to other members.