[OPNFLWPLUG-731] DeviceFlowRegistry performance issue when reading from datastore Created: 11/Jul/16 Updated: 27/Sep/21 Resolved: 14/Jul/16 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Tomas Slusny | Assignee: | Jozef Bacigal |
| 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: | 6181 | ||||||||
| Description |
|
During role change to master, DeviceFlowRegistry is currently reading entire config and operational datastore, what can slow down start up time and after restart start up time. Solution will be moving this entire read operations to separate thread. |
| Comments |
| Comment by Tomas Slusny [ 12/Jul/16 ] |
|
DeviceFlowRegistry is now filled asynchronously, so results should be a lot better, and also now it is properly cleaned after device becomes slave. This patch will probably also fix some issues with alien flow IDs. |