Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Done
-
None
-
None
-
None
-
Observed with JSON RPC, should be observable using any mounted data resource broker.
Description
8040 code does unnecessary reads when a PUT is given via restconf.
A PUT according to RFC is a "create or modify". There is absolutely no need to perform a read here. This is not a POST where ODL needs to verify if the resource exists beforehand.
This is purely a performance penalty issue, it does not effect functionality
Attachments
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 68782,4 | NETCONF-514: Use exists instead of read for PUT | master | netconf | Status: MERGED | +2 | +1 |
| 68934,7 | NETCONF-514: Use exists instead of read for PUT | stable/oxygen | netconf | Status: MERGED | +2 | +1 |
| 68988,1 | NETCONF-514: Use exists instead of read for PUT | stable/nitrogen | netconf | Status: MERGED | +2 | +1 |