[NETCONF-462] TransactionChain created in RestConnectorProvider.start line 87 is never closed Created: 29/Aug/17 Updated: 15/Mar/19 Resolved: 31/Aug/17 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Michael Vorburger | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||||||
| External issue ID: | 9069 | ||||||||||||
| Description |
|
As found in see TransactionChain created in RestConnectorProvider.start line 87 is never closed |
| Comments |
| Comment by Jakub Morvay [ 31/Aug/17 ] |
|
Actually, it should be closed in RestConnectorProvider.close method. |
| Comment by Michael Vorburger [ 31/Aug/17 ] |
|
Jakub, OK I see, so this is a case where ONE (and always only ever one, never more, can you confirm this?) TransactionChain is created and kept open for entire life time on ODL, and closed only on shutdown... correct? Then that's not a "leak" (of the kind I'm chasing for Thanks for having had a look - I think it's valuable to record such findings here. PS: Maybe the "trace:transactions" CLI command from |
| Comment by Jakub Morvay [ 31/Aug/17 ] |
|
(In reply to Michael Vorburger from comment #2) Yeah, correct, this should be the case. Transaction chain is opened during creating restconf's blueprint container and closed during destroying the container. So closing this as RESOLVED INVALID. > Thanks for having had a look - I think it's valuable to record such findings Well, I can try to think about something but we should track this elsewhere and not in this bug. Maybe, we can discuss this in |
| Comment by Michael Vorburger [ 31/Aug/17 ] |
|
> we should track this elsewhere and not in this bug. Maybe, we can agreed and opened new |