[NETCONF-403] Eliminate blocking checks in loops, so the checks are done in parallel Created: 21/Apr/17 Updated: 23/Feb/21 Resolved: 23/Feb/21 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | 1.13.0 |
| Type: | Bug | ||
| Reporter: | Ivan Hrasko | Assignee: | Vladyslav Marchenko |
| Resolution: | Done | 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: | 8268 | ||||||||||||||||
| Description |
|
Do not mix read and write operations in one loop. This change is needed for old restconf (BrokerFacade.java) and also for new restconf (RestconfDataServiceImpl and its utility helper classes). |
| Comments |
| Comment by Ivan Hrasko [ 21/Apr/17 ] | ||||||||
|
This is follow up issue of https://bugs.opendaylight.org/show_bug.cgi?id=7868 | ||||||||
| Comment by Vladyslav Marchenko [ 07/Oct/20 ] | ||||||||
|
Changes are made only for rfc4080! If request goes via NetconfRestconfStrategy.java we don't need to check existence on the controller side. As implementation of <edit-config> with "delete"/"create"operations - first must do "if exists" check. As en example see org.opendaylight.netconf.mdsal.connector.ops.EditConfig.java If request goes via MdsalRestconfStrategy.java, first we need to do "if exists" check. For testing performance this script was used (with device simulator): Before this patch:
After this patch:
|