[NETCONF-1242] OpenAPI: Iterate over models in SchemasStream Created: 30/Jan/24 Updated: 07/Feb/24 Resolved: 07/Feb/24 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-openapi |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0 |
| Type: | Bug | Priority: | Highest |
| Reporter: | Ivan Hrasko | Assignee: | Ľuboš Čičut |
| Resolution: | Done | Votes: | 0 |
| Labels: | pt, regression | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
Use originally intended iterative approach to get next chunk of paths (for one model) in SchemasStream. The way that we will have: toComponents(iterator.next(), isForSingleModule) ... private static Deque<SchemaEntity> toComponents(final Module module, final boolean isForSingleModule) This will restore original draft idea presented in https://git.opendaylight.org/gerrit/c/netconf/+/108258 and possibly saves even more memory as we did for NETCONF-938. After work is done check performance with 2GiB heap space and 6 cores as is described in |
| Comments |
| Comment by Ivan Hrasko [ 31/Jan/24 ] |
|
This is regression of NETCONF-938 introduced by 6fe8aa811291316bce3177ea2c7c7cf9dfbde672. |