<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:35:25 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>[OVSDB-69] events in EventDispatcherImpl should be volatile since it is expected to be modified by different threads</title>
                <link>https://jira.opendaylight.org/browse/OVSDB-69</link>
                <project id="10158" key="OVSDB">ovsdb</project>
                    <description>&lt;p&gt;Just like queue in PipelineOrchestratorImpl, events in EventDispatcherImpl should be volatile since it is expected to be modified by different threads.&lt;/p&gt;

&lt;p&gt;===&lt;/p&gt;

&lt;p&gt;Ref gerrit in which Madhu fixes a similar issue in PipelineOrchestratorImpl:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/10843/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/10843/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;===&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;07:32:22&amp;#93;&lt;/span&gt; &amp;lt;flaviof&amp;gt;	Madhu: don&apos;t u need to make queue volatile ?&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;07:32:43&amp;#93;&lt;/span&gt; &amp;lt;@Madhu&amp;gt;	 flaviof: why ?&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;07:32:47&amp;#93;&lt;/span&gt; &amp;lt;flaviof&amp;gt;	 bc there are 2 threads using it in your case&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;07:33:03&amp;#93;&lt;/span&gt; &amp;lt;@Madhu&amp;gt;	 well... yes it is preferred &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;07:33:13&amp;#93;&lt;/span&gt; &amp;lt;@Madhu&amp;gt;	 flaviof: but not mandatory i hope&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;07:33:20&amp;#93;&lt;/span&gt; &amp;lt;@Madhu&amp;gt;	 in that case.... EventDispatcherImpl is in trouble too &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;07:33:42&amp;#93;&lt;/span&gt; &amp;lt;dave_tucker&amp;gt;	Madhu well there could be a case where the queue has been updated but it&apos;s not visible to the other thread&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;07:33:53&amp;#93;&lt;/span&gt; &amp;lt;dave_tucker&amp;gt;	 hence volatile would make perfect sense here&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;07:33:56&amp;#93;&lt;/span&gt; &amp;lt;@Madhu&amp;gt;	dave_tucker: what case is that ?&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;07:34:06&amp;#93;&lt;/span&gt; &amp;lt;@Madhu&amp;gt;	dave_tucker: yep agreed. volatile make sense&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;07:34:13&amp;#93;&lt;/span&gt; dave_tucker	 looks to code for answers&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;07:34:26&amp;#93;&lt;/span&gt; &amp;lt;@Madhu&amp;gt;	 but am still trying to understand why EventDispatcherImpl works&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;07:34:54&amp;#93;&lt;/span&gt; &amp;lt;@Madhu&amp;gt;	dave_tucker: flaviof could it be because am using a &quot;String&quot; Object ?&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;07:35:01&amp;#93;&lt;/span&gt; &amp;lt;dave_tucker&amp;gt;	Madhu i was thinking that&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;07:35:02&amp;#93;&lt;/span&gt; Madhu	 remembers String Objects are special in java &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;07:35:12&amp;#93;&lt;/span&gt; &amp;lt;flaviof&amp;gt;	Madhu: you are right, i dnot know how/why eventDispatcher does not suffer from the same disease&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;07:35:45&amp;#93;&lt;/span&gt; &amp;lt;@Madhu&amp;gt;	 flaviof: dave_tucker but i agree having volatile is good to have.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21761">OVSDB-69</key>
            <summary>events in EventDispatcherImpl should be volatile since it is expected to be modified by different threads</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="flavio@flaviof.com">Flavio Fernandes</assignee>
                                    <reporter username="flavio@flaviof.com">Flavio Fernandes</reporter>
                        <labels>
                    </labels>
                <created>Sat, 6 Sep 2014 19:54:54 +0000</created>
                <updated>Mon, 8 Sep 2014 14:37:54 +0000</updated>
                            <resolved>Mon, 8 Sep 2014 14:37:54 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>openstack.net-virt</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="40682" author="flavio@flaviof.com" created="Sat, 6 Sep 2014 20:31:27 +0000"  >&lt;p&gt;Gerrit: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/10863/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/10863/&lt;/a&gt;&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>1729</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=1729]]></customfieldvalue>

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

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