[CONTROLLER-635] Fix YangStoreServiceImpl safety model Created: 17/Jul/14  Updated: 28/Jul/14  Resolved: 28/Jul/14

Status: Resolved
Project: controller
Component/s: config
Affects Version/s: Helium
Fix Version/s: None

Type: Bug
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 1384

 Description   

Tracing SP edition startup shows that the fileinstall thread is blocked for 22 seconds (out of total 65 second bootup) trying to call YangStoreServiceImpl.refresh().

Since all refresh() does is invalidate the cache, it should be possible to add just a volatile flag, which would signal the constructing thread (which needs to be synchronized), that it should throw away the result and retry.



 Comments   
Comment by Robert Varga [ 17/Jul/14 ]

https://git.opendaylight.org/gerrit/9118

Generated at Wed Feb 07 19:53:30 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.