Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1502

Feature config pusher thread nops even when no feature to install

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • None
    • Lithium
    • config
    • None
    • Operating System: Windows
      Platform: PC

    • 5601

      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.

            Unassigned Unassigned
            yin.kangqian@zte.com.cn Kangqian Yin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: