[NETCONF-201] PATCH does not report 409 on OptimisticLockFailedException Created: 18/May/16 Updated: 15/Mar/19 Resolved: 05/Aug/16 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Vratko Polak | Assignee: | Ivan Hrasko |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 5909 |
| Description |
|
Current Beryllium implementation of PATCH method does not seem to report errors correctly. Sending two small requests (especially when ODL is not yet "warmed up") may end up in only the first request being applied: $ python patch_cars_sr2.py --iterations=2 {"cars":{"car-entry":[ {"id":"car-1"}]}} Karaf.log contains exceptions, which should result in http code 409 (the Python utility would report that). 2016-05-18 11:23:51,589 | INFO | config-pusher | ConfigPusherImpl | 120 - org.opendaylight.control at org.opendaylight.controller.cluster.datastore.SimpleShardDataTreeCohort.canCommit(SimpleShardDataTreeCohort.java:54)[168:org.opendaylight.controller.sal-distributed-datastore:1.3.3.SNAPSHOT] |
| Comments |
| Comment by Ivan Hrasko [ 12/Jul/16 ] |
| Comment by Ivan Hrasko [ 19/Jul/16 ] |
|
Merged to Be, needs port to Boron. |
| Comment by Ivan Hrasko [ 27/Jul/16 ] |
|
Cherry pick to Boron old Restconf: |
| Comment by Ivan Hrasko [ 05/Aug/16 ] |
|
patch for new restconf has been merged to master: |