[GENIUS-201] TepCommandHelper should avoid heavy DS reads in bean initialization Created: 03/Aug/18 Updated: 05/Oct/18 Resolved: 05/Oct/18 |
|
| Status: | Resolved |
| Project: | genius |
| Component/s: | ITM |
| Affects Version/s: | None |
| Fix Version/s: | Neon |
| Type: | Improvement | Priority: | High |
| Reporter: | Faseela K | Assignee: | Tarun Thakur |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | 0 minutes | ||
| Time Spent: | 2 days | ||
| Original Estimate: | Not Specified | ||
| Description |
|
TepCommandHelper in ITM is doing a read of whole default-transport-zone sub-tree in the constructor to finish some DS operation. This can cause impacts for a cluster reboot in a scale setup. This code should be enhanced to move such heavy logics outside the blueprint initialization. |
| Comments |
| Comment by Tarun Thakur [ 18/Sep/18 ] |
|
Raised patch https://git.opendaylight.org/gerrit/76201 for review. |
| Comment by Tarun Thakur [ 05/Oct/18 ] |
|
https://git.opendaylight.org/gerrit/#/c/76201/ review is merged now. Changes are fixed in master. |