<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:00:19 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>[GENIUS-260] LockManager should be able to run within an open managed transaction, e.g. when used by IdManager</title>
                <link>https://jira.opendaylight.org/browse/GENIUS-260</link>
                <project id="10126" key="GENIUS">genius</project>
                    <description>&lt;p&gt;Discussions in the review of my&#160;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/78055/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/78055&lt;/a&gt;&#160;by &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=skitt&quot; class=&quot;user-hover&quot; rel=&quot;skitt&quot;&gt;skitt&lt;/a&gt;&#160;have identified&#160;that LockManager really should&#160;be able to run within an existing transaction instead of creating its own.&lt;/p&gt;

&lt;p&gt;For example, when LockManager is used by IdManager&apos;s CleanUpJob,&#160;the LM should use the open managed TX created in IM. This is not possible today because LM is a YANG RPC, not a &quot;local&quot; (OSGi BP) service. My suggestion is to remove the YANG RPC, as this is only an &quot;internal&quot; technical service, I doubt there is a real world use case where one would want to use this remotely e.g.&#160;via RESTCONF. It then becomes trivial to pass a Transaction as an additional argument.&lt;/p&gt;

&lt;p&gt;I have a feeling that are many more RPCs which don&apos;t actually have to be that, but let&apos;s start with LM as a specific example, which perhaps in the future can be applied more generally.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=k.faseela&quot; class=&quot;user-hover&quot; rel=&quot;k.faseela&quot;&gt;k.faseela&lt;/a&gt; you seemed to have some interest in picking this up? Your &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/78869/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/78869&lt;/a&gt;&#160;and &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/78870/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/78870&lt;/a&gt;&#160;from today aren&apos;t exactly what this is about, but in the same space. (Readers of this issue should look at the code review feedback on those 2 changes as well.)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=tpantelis&quot; class=&quot;user-hover&quot; rel=&quot;tpantelis&quot;&gt;tpantelis&lt;/a&gt; FYI.&lt;/p&gt;</description>
                <environment></environment>
        <key id="31220">GENIUS-260</key>
            <summary>LockManager should be able to run within an open managed transaction, e.g. when used by IdManager</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="1" iconUrl="https://jira.opendaylight.org/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="k.faseela">Faseela K</assignee>
                                    <reporter username="vorburger">Michael Vorburger</reporter>
                        <labels>
                    </labels>
                <created>Wed, 19 Dec 2018 14:44:32 +0000</created>
                <updated>Wed, 19 Dec 2018 14:53:33 +0000</updated>
                                                            <fixVersion>Neon</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                        <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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03lmn:</customfieldvalue>

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