[NETCONF-675] Non-clustered NETCONF topology leaks schema registrations Created: 25/Apr/20 Updated: 30/Oct/20 Resolved: 14/Oct/20 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | netconf |
| Affects Version/s: | None |
| Fix Version/s: | 1.13.0, Magnesium SR3, Aluminium SR1 |
| Type: | Bug | Priority: | High |
| Reporter: | Robert Varga | Assignee: | Peter Suna |
| Resolution: | Done | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
This issue is correctly flagged by SpotBugs and has escaped attention for quite some time. When we are creating the context for a device, we add yanglib if it is configured for that particular device. If there are multiple devices pointing to the same url, we end up registering for each of them, and if they point to the same schema directory we end up with quadratic number of registrations. At the very least we should be tearing down the registrations when the device goes away. |
| Comments |
| Comment by Manoj Chokka [ 30/Oct/20 ] |
|
Hi Peter,
could please link the gerrit changes here.
Thank you, Manoj |
| Comment by Robert Varga [ 30/Oct/20 ] |
|
The changes are already linked in 'Gerrit Reviews', just use the menu on the right side to make them visible to you. Pasting links for properly-tagged patches is superfluous, it is done automatically. |
| Comment by Manoj Chokka [ 30/Oct/20 ] |
|
thanks Robert |