This repository has been archived by the owner on Apr 24, 2020. It is now read-only.
revert commit #ca6d867 (from 2.8 tag) — req reconnection fail on router restart #396
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a revert of commit #ca6d867 from @utvara
remove receive message delayed handling
which introduces an issue (affecting every version since 2.8.0).A test is provided to reproduced the problem we have encountered in production: a
req
socket is connected to arouter
. When thisrouter
restarts (in our case, mainly on version bumping), thereq
is not able to reconnect. What we presume, is that onerequest
can be lost — thereq
socket is awaiting for a response, but, because therouter
was restarted in the meantime, this preciserequest
will never get an acknowledgement. Thus blocking thereq
socket which needs an ack to thisrequest
to send next ones.@utvara, can you please explain why you have change this code on 19 Aug 2014?
Is anyone else experiencing the same issue?