[CONTROLLER-823] Invalid request reply match in netconf-connector Created: 12/Sep/14 Updated: 17/Sep/14 Resolved: 17/Sep/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | netconf |
| Affects Version/s: | Helium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Maros Marsalek | Assignee: | Maros Marsalek |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 1842 |
| Description |
|
Following exception appears in log: : Invalid request-reply match, reply message contains different message-id... And all next requests are failed. It seems that this happens to pending write messages (AsyncSshHandler). If pending is unlocked, the pending message can be outrun by next message being sent. So a small race condition there. Stress test in NetconfITSecureTest should have caught that, but a few issues there: |
| Comments |
| Comment by Maros Marsalek [ 16/Sep/14 ] |
|
https://git.opendaylight.org/gerrit/#/c/11228/ Actual problem was not the race condition, but not resetting the byte buffer after it was copied during first-attempt-write. |