[NETCONF-1233] Blocking call during NetconfDeviceSchemas acquisition Created: 25/Jan/24 Updated: 26/Jan/24 |
|
| Status: | In Progress |
| Project: | netconf |
| Component/s: | netconf-client-mdsal |
| Affects Version/s: | 5.0.9, 6.0.6 |
| Fix Version/s: | 7.0.0 |
| Type: | Bug | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
Both NetconfStateSchemas and LibraryModulesSchemas invoke a <get/> RPC on the device and then block until the request completes. This is inefficient and poses a scalability problem, as the threadpool used has a limited number of threads, while we can have hundreds of devices coming online at the same time. Fix this by making the RPC result processing asynchronous. |