[CONTROLLER-1502] Feature config pusher thread nops even when no feature to install Created: 24/Mar/16  Updated: 19/Oct/17  Resolved: 05/Jul/17

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

Type: Bug
Reporter: Kangqian Yin Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Windows
Platform: PC


External issue ID: 5601

 Description   

I've just built an OpenDaylight distribution by master branch of project integration-distribution on 64-bit Windows 7 with JDK 1.8.0_73. Then I start the distribution in debug mode and install the feature of odl-restconf-all. Through the log, I see that ODL config subsystem has successfully pushed several feature config xml files. Now I connect the Java debugger in Intellij IDEA to the ODL controller and set a breakpoint on the following line of ConfigPushingRunnable.java:

if (event != null && event.getFeature() != null) {

Then I see the breakpoint is hit endlessly repeatedly. But the controller has no feature to install and the event variable in above code is null. It's obvious that feature config pusher thread nops because of the toInstall variable in ConfigPushingRunnable.run() method is not maintained correctly. The toInstall variable still has features even when ODL has no feature needed to install.



 Comments   
Comment by Tom Pantelis [ 05/Jul/17 ]

Not sure if this is a real issue or not but the CSS is being deprecated so not worth looking into.

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