[OPNFLWPLUG-224] Migrate to next MD-SAL dataStore API Created: 31/Jul/14 Updated: 27/Sep/21 Resolved: 12/Aug/14 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Michal Rehak | Assignee: | Martin Bobak |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| Issue Links: |
|
||||||||
| External issue ID: | 1458 | ||||||||
| Priority: | Highest | ||||||||
| Description |
|
DataStore API is used in test-provider and drop-test. Howto is in mailing list controller-dev, 30.06.2014, from Tony, subject: Deprecation of MD-SAL.. |
| Comments |
| Comment by Michal Rehak [ 31/Jul/14 ] |
|
https://git.opendaylight.org/gerrit/9527 |
| Comment by Michal Rehak [ 31/Jul/14 ] |
|
merged |
| Comment by Robert Varga [ 02/Aug/14 ] |
|
Testing shows the following exceptions: 2014-08-02 18:08:20.583 CEST [pool-8-thread-1] WARN o.o.c.m.s.d.s.i.InMemoryDOMDataStore - Store Tx: DOM-CFG-185 Data Precondition failed for (urn:opendaylight:inventory?revision=2013-08-19)nodes. After applying bandaid (https://git.opendaylight.org/gerrit/9610), the throughput is abysmal. Needs to be investigated. |
| Comment by Tony Tkacik [ 05/Aug/14 ] |
|
I would suggest following: issue write for /nodes/node/table/0 with ensure parents when node first appeared (this should be probably done by inventory manager upon learning existence of tables) so clients |
| Comment by Martin Bobak [ 07/Aug/14 ] |
|
Error ModifiedNodeDoesNotExistException doesn't seem to be related to migration to new MD-SAL API. Nevertheless some changes were made while investigating this issue. One of them is migration of inventory-manager to new MD-SAL API which is in commit : https://git.opendaylight.org/gerrit/#/c/9747/. Another one is implementation of Tony's suggestion on issuing write on /nodes/node/table/0 which is in this commit https://git.opendaylight.org/gerrit/#/c/9771/. Next investigation related to ModifiedNodeDoesNotExistException will be made under bug : |