<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:55:39 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[CONTROLLER-1480] Remove XSQL</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1480</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Here is my observation:&lt;/p&gt;

&lt;p&gt;1) If I start individual features in a fresh controller they normally take less than 30 secs to bring in. There are some yang-parser meesages like below but they go very quick.&lt;/p&gt;

&lt;p&gt;2016-02-03 10:37:40,667 | INFO  | l for user karaf | YangTextSchemaContextResolver    | 78 - org.opendaylight.yangtools.yang-parser-impl - 0.8.0.SNAPSHOT | Provided module name /META-INF/yang/ietf-netconf-notifications@2012-02-06.yang@0000-00-00.yang does not match actual text ietf-netconf-notifications@2012-02-06.yang, corrected&lt;/p&gt;

&lt;p&gt;Example of single feature install:&lt;/p&gt;

&lt;p&gt;feature:install odl-bgpcep-bgp-all takes ~ 30 secs&lt;/p&gt;

&lt;p&gt;2) If I start to add features on top of others, the yang-parser messages start to appear very slow, CPU and memory goes very high, and the overall feature installation takes very long.&lt;/p&gt;

&lt;p&gt;Example bring same feature (took 30 secs before) after another:&lt;/p&gt;

&lt;p&gt;feature:install odl-ovsdb-openstack takes ~ 30 secs&lt;br/&gt;
feature:install odl-bgpcep-bgp-all takes ~ 5 mins!!!&lt;/p&gt;

&lt;p&gt;I have experienced same delays + high CPU/memory mixing other features, so this is not just related to the example features.&lt;/p&gt;

&lt;p&gt;This may not be a blocker but the user experience is pretty much impacted.&lt;/p&gt;

&lt;p&gt;BR/Luis&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26034">CONTROLLER-1480</key>
            <summary>Remove XSQL</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="rovarga">Robert Varga</assignee>
                                    <reporter username="ecelgp">Luis Gomez</reporter>
                        <labels>
                    </labels>
                <created>Thu, 4 Feb 2016 00:12:15 +0000</created>
                <updated>Tue, 25 Jul 2023 08:24:07 +0000</updated>
                            <resolved>Fri, 14 Apr 2017 22:04:40 +0000</resolved>
                                                                    <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="51243" author="pkajsa" created="Fri, 5 Feb 2016 13:57:07 +0000"  >&lt;p&gt;The issue was replicated, but it takes approximately 2 mins in my case. We have to investigate a root cause of the issue.&lt;/p&gt;</comment>
                            <comment id="51244" author="ecelgp" created="Fri, 5 Feb 2016 23:02:54 +0000"  >&lt;p&gt;Thanks, I guess it depends on the machine you use to run the controller...&lt;/p&gt;</comment>
                            <comment id="51245" author="rovarga" created="Tue, 25 Oct 2016 11:53:57 +0000"  >&lt;p&gt;This should be quite a bit better with the work done in BUG-6972 &amp;#8211; what is the status on current Carbon?&lt;/p&gt;</comment>
                            <comment id="51246" author="rovarga" created="Sun, 30 Oct 2016 17:02:49 +0000"  >&lt;p&gt;I have just tested this with current carbon, the times are below 3 minutes for the second install.&lt;/p&gt;

&lt;p&gt;I wonder whether the features do not get refreshed and we end up re-creating the context anew. Some debug logs as to what the karaf is doing would be useful, because schema context assembly should really be a background task, which should not be holding feature:install back.&lt;/p&gt;</comment>
                            <comment id="51247" author="rovarga" created="Sun, 30 Oct 2016 17:15:08 +0000"  >&lt;p&gt;One thing that comes to mind is that the infrastructure does not seem to be marked as &apos;dependency=true&apos; in features.xml, hence the features may be getting reinstalled.&lt;/p&gt;</comment>
                            <comment id="51248" author="rovarga" created="Mon, 31 Oct 2016 14:08:37 +0000"  >&lt;p&gt;patches to attempt to limit reinstalls: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/q/topic:bug5222&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/q/topic:bug5222&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="51249" author="skitt@redhat.com" created="Mon, 31 Oct 2016 14:18:34 +0000"  >&lt;p&gt;I&apos;m not sure &apos;dependency=true&quot;&apos; has any effect on features; the Feature.java model in Karaf 3 (and 4) doesn&apos;t have a matching JAXB property.&lt;/p&gt;</comment>
                            <comment id="51250" author="rovarga" created="Mon, 31 Oct 2016 14:38:34 +0000"  >&lt;p&gt;Dependency.java (Feature has a List of those) has a dependency at least in 4.x. Note that the &apos;feature&apos; statement is mapped to dependency in the XSD.&lt;/p&gt;</comment>
                            <comment id="51251" author="rovarga" created="Thu, 12 Jan 2017 19:22:56 +0000"  >&lt;p&gt;I have profiled this a bit more and the second install is now at one minute 40 seconds. The crux of the problem lies with sal-dom-xsql, which leaks memory on global context changes &amp;#8211; after the test here it retains 700MiB+ of memory.&lt;/p&gt;

&lt;p&gt;Therefore I am considering this issue resolved from the perspective of yangtools and moving it to the controller, where it should be treated as a bug.&lt;/p&gt;</comment>
                            <comment id="51252" author="rovarga" created="Thu, 12 Jan 2017 19:25:34 +0000"  >&lt;p&gt;I think the correct action is to open bugs to downstream projects:&lt;/p&gt;

&lt;p&gt;alto&lt;br/&gt;
cardinal&lt;br/&gt;
centinel&lt;br/&gt;
eman&lt;br/&gt;
genius&lt;br/&gt;
honeycomb/vbd&lt;br/&gt;
iotdm&lt;br/&gt;
l2switch&lt;br/&gt;
natapp&lt;br/&gt;
nemo&lt;br/&gt;
netide&lt;br/&gt;
netvirt&lt;br/&gt;
openflowplugin&lt;br/&gt;
ovsdb&lt;br/&gt;
sdninterfaceapp&lt;br/&gt;
unimgr&lt;br/&gt;
usc&lt;/p&gt;

&lt;p&gt;so they stop pulling in sql-dom-xsql and make this the tracker for XSQLs removal.&lt;/p&gt;</comment>
                            <comment id="51253" author="rovarga" created="Fri, 13 Jan 2017 11:14:24 +0000"  >&lt;p&gt;Rename issue to reflect what we need to do, target to Nitrogen.&lt;/p&gt;

&lt;p&gt;Patches to downstream projects to remove dependencies in Carbon: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/q/topic:die-xsql-die&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/q/topic:die-xsql-die&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="51254" author="rovarga" created="Wed, 12 Apr 2017 10:52:43 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/54850&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/54850&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="26108">CONTROLLER-1554</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5222</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=5222]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10318"><![CDATA[Change Request]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10320"><![CDATA[Nitrogen]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02qtz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>