<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:59:49 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-62] lock-manager-impl floods logs with OptimisticLockFailedExceptions</title>
                <link>https://jira.opendaylight.org/browse/GENIUS-62</link>
                <project id="10126" key="GENIUS">genius</project>
                    <description>&lt;p&gt;2017-03-21 15:06:39,659 | ERROR | eChangeHandler-0 | LockManager                      | 351 - org.opendaylight.genius.lockmanager-impl - 0.2.0.SNAPSHOT | Unable to acquire lock, try 1&lt;br/&gt;
java.util.concurrent.ExecutionException: OptimisticLockFailedException&lt;/p&gt;
{message=Optimistic lock failed., errorList=[RpcError [message=Optimistic lock failed., severity=ERROR, errorType=APPLICATION, tag=resource-denied, applicationTag=null, info=null, cause=org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node was created by other transaction.]]}

&lt;p&gt;As per definition in Logging Best Practices, this should be a WARN, as there is a retry mechanism in place.&lt;/p&gt;

&lt;p&gt;I am not familiar with the design of the lock manager, but it seems it could be using EntityOwnershipService, which already provides cluster-wide exclusive locking.&lt;/p&gt;

&lt;p&gt;If the exceptions are direct result of application design and retries are expected, the message should be lowered to debug.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="19843">GENIUS-62</key>
            <summary>lock-manager-impl floods logs with OptimisticLockFailedExceptions</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="kencykurian@gmail.com">Kency Kurian</assignee>
                                    <reporter username="rovarga">Robert Varga</reporter>
                        <labels>
                    </labels>
                <created>Thu, 23 Mar 2017 14:17:45 +0000</created>
                <updated>Mon, 14 May 2018 14:44:29 +0000</updated>
                            <resolved>Mon, 14 May 2018 14:44:18 +0000</resolved>
                                    <version>(unspecified)</version>
                                    <fixVersion>Oxygen</fixVersion>
                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="35926" author="vorburger" created="Thu, 13 Apr 2017 11:36:08 +0000"  >&lt;p&gt;&amp;gt; it seems it could be using EntityOwnershipService, which already provides &lt;/p&gt;

&lt;p&gt;Let&apos;s quick fix up the logging under this bug here, and let&apos;s use &lt;a href=&quot;https://jira.opendaylight.org/browse/GENIUS-73&quot; title=&quot;lockmanager based on EntityOwnershipService  ?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GENIUS-73&quot;&gt;&lt;del&gt;GENIUS-73&lt;/del&gt;&lt;/a&gt; for a possible enhancement to change the implementation (thank you Robert for bringing up the idea!).&lt;/p&gt;</comment>
                            <comment id="35927" author="shague@redhat.com" created="Sat, 19 Aug 2017 19:51:11 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/61977&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/61977&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="35928" author="vorburger" created="Thu, 14 Sep 2017 03:57:15 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/63121/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/63121/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="62914" author="faseela.k@ericsson.com" created="Thu, 10 May 2018 09:46:28 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=vorburger&quot; class=&quot;user-hover&quot; rel=&quot;vorburger&quot;&gt;vorburger&lt;/a&gt; Can this Jira be closed?&lt;/p&gt;</comment>
                            <comment id="62940" author="vorburger" created="Mon, 14 May 2018 14:44:29 +0000"  >&lt;p&gt;done&lt;/p&gt;</comment>
                    </comments>
                    <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>8059</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=8059]]></customfieldvalue>

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

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

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