<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:56:02 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-1628] Unknown history for commited transaction</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1628</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Latest Carbon code. &lt;br/&gt;
3-node cluster as part of an openstack solution.&lt;br/&gt;
Connecting 200 computes(OVSs).&lt;br/&gt;
Log is filled in non-stopping WARNs:&lt;br/&gt;
WARN  | lt-dispatcher-15 | FrontendClientMetadataBuilder    | 214 - org.opendaylight.controller.sal-distributed-datastore - 1.5.0.SNAPSHOT | Unknown history for commited transaction member-3-datastore-operational-fe-0-chn-6-txn-24-0, ignoring&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26182">CONTROLLER-1628</key>
            <summary>Unknown history for commited transaction</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="guy.sela@hpe.com">Guy Sela</reporter>
                        <labels>
                    </labels>
                <created>Wed, 5 Apr 2017 13:39:15 +0000</created>
                <updated>Mon, 3 Jun 2019 16:45:55 +0000</updated>
                            <resolved>Mon, 3 Jun 2019 16:45:55 +0000</resolved>
                                    <version>Neon</version>
                    <version>Fluorine SR1</version>
                    <version>Oxygen SR4</version>
                                    <fixVersion>Sodium</fixVersion>
                    <fixVersion>Neon SR2</fixVersion>
                                    <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="51925" author="guy.sela@hpe.com" created="Wed, 5 Apr 2017 13:39:15 +0000"  >&lt;p&gt;Attachment odl1karaf.zip has been added with description: ODL 1 log&lt;/p&gt;</comment>
                            <comment id="51926" author="guy.sela@hpe.com" created="Wed, 5 Apr 2017 13:39:36 +0000"  >&lt;p&gt;Attachment odl2karaf.zip has been added with description: ODL 2 log&lt;/p&gt;</comment>
                            <comment id="51927" author="guy.sela@hpe.com" created="Wed, 5 Apr 2017 13:39:50 +0000"  >&lt;p&gt;Attachment odl3karaf.zip has been added with description: ODL 3 log&lt;/p&gt;</comment>
                            <comment id="51910" author="rovarga" created="Wed, 5 Apr 2017 15:55:50 +0000"  >&lt;p&gt;Guy, can you run this with debug enabled on org.opendaylight.controller.cluster.datastore?&lt;/p&gt;

&lt;p&gt;It looks like we have lost the record of a transaction chain being created somehow &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/sad.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;</comment>
                            <comment id="51911" author="guy.sela@hpe.com" created="Wed, 5 Apr 2017 17:54:23 +0000"  >&lt;p&gt;(In reply to Robert Varga from comment #3)&lt;br/&gt;
&amp;gt; Guy, can you run this with debug enabled on&lt;br/&gt;
&amp;gt; org.opendaylight.controller.cluster.datastore?&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; It looks like we have lost the record of a transaction chain being created&lt;br/&gt;
&amp;gt; somehow &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/sad.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;Sure, anything to take that upset emoji off your face &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;br/&gt;
I&apos;ll do it tomorrow.&lt;/p&gt;</comment>
                            <comment id="51928" author="guy.sela@hpe.com" created="Sun, 9 Apr 2017 14:33:05 +0000"  >&lt;p&gt;Attachment odl3.tar.gz has been added with description: ODL3 LOG with debug&lt;/p&gt;</comment>
                            <comment id="51929" author="guy.sela@hpe.com" created="Sun, 9 Apr 2017 14:33:22 +0000"  >&lt;p&gt;Attachment odl2.tar.gz has been added with description: ODL2 LOG with debug&lt;/p&gt;</comment>
                            <comment id="51930" author="guy.sela@hpe.com" created="Sun, 9 Apr 2017 14:33:56 +0000"  >&lt;p&gt;Attachment odl1.tar.gz has been added with description: ODL1 LOG with debug&lt;/p&gt;</comment>
                            <comment id="51912" author="rovarga" created="Wed, 12 Apr 2017 15:50:22 +0000"  >&lt;p&gt;So this is a follower-side of things, but unfortunately the logs are incomplete. The following histories are candidates:&lt;/p&gt;

&lt;p&gt;member-3-datastore-operational-fe-0-chn-1&lt;br/&gt;
member-3-datastore-operational-fe-0-chn-3&lt;br/&gt;
member-3-datastore-operational-fe-0-chn-6&lt;br/&gt;
member-3-datastore-operational-fe-0-chn-9&lt;br/&gt;
member-3-datastore-operational-fe-0-chn-11&lt;br/&gt;
member-3-datastore-operational-fe-0-chn-12&lt;/p&gt;

&lt;p&gt;But the logs from master (odl3) do not contain the records of those chains starting nor is there overlap between transactions on master and follower.&lt;/p&gt;

&lt;p&gt;Digging into journal entries, the most recent inconsistency is detected at:&lt;/p&gt;

&lt;p&gt;2017-04-09 17:20:40,052 | DEBUG | lt-dispatcher-34 | Shard                            | 207 - org.opendaylight.controller.sal-clustering-commons - 1.5.0.SNAPSHOT | member-2-shard-topology-operational: Applying state for log index 817 data org.opendaylight.controller.cluster.datastore.persisted.CommitTransactionPayload@54aae041&lt;/p&gt;

&lt;p&gt;but the logs are missing that part, because the oldest we have on the leader side is:&lt;/p&gt;

&lt;p&gt;2017-04-09 17:20:45,030 | DEBUG | lt-dispatcher-40 | Shard                            | 207 - org.opendaylight.controller.sal-clustering-commons - 1.5.0.SNAPSHOT | member-3-shard-topology-operational (Leader): handleAppendEntriesReply - FollowerLogInformation for member-2-shard-topology-operational updated: matchIndex: 846, nextIndex: 847&lt;/p&gt;

&lt;p&gt;At the very least we need some overlap in the logs related to the what state was exchanged between leader and follower. The best would be to have logs containing the complete transaction chain lifetime (i.e. from its first transaction).&lt;/p&gt;</comment>
                            <comment id="51913" author="rovarga" created="Wed, 12 Apr 2017 16:08:25 +0000"  >&lt;p&gt;patch to improve logging details: &lt;a href=&quot;https://git.opendaylight.org/gerrit/54884&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/54884&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="51914" author="vzelcamo@cisco.com" created="Tue, 18 Apr 2017 16:22:26 +0000"  >&lt;p&gt;Hi Guy,&lt;br/&gt;
can you review the last comment from Robert and attach new logs for us?&lt;br/&gt;
Thank you.&lt;/p&gt;</comment>
                            <comment id="51915" author="guy.sela@hpe.com" created="Thu, 20 Apr 2017 08:06:45 +0000"  >&lt;p&gt;We were on holiday until now. I will try to produce the logs today.&lt;/p&gt;</comment>
                            <comment id="51931" author="guy.sela@hpe.com" created="Thu, 20 Apr 2017 09:57:44 +0000"  >&lt;p&gt;Attachment odl1.tar.gz has been added with description: ODL 1 Log with Patch&lt;/p&gt;</comment>
                            <comment id="51932" author="guy.sela@hpe.com" created="Thu, 20 Apr 2017 09:57:57 +0000"  >&lt;p&gt;Attachment odl2.tar.gz has been added with description: ODL 2 Log with Patch&lt;/p&gt;</comment>
                            <comment id="51933" author="guy.sela@hpe.com" created="Thu, 20 Apr 2017 09:58:11 +0000"  >&lt;p&gt;Attachment odl3.tar.gz has been added with description: ODL 3 Log with Patch&lt;/p&gt;</comment>
                            <comment id="51916" author="rovarga" created="Thu, 20 Apr 2017 10:45:58 +0000"  >&lt;p&gt;Thans Guy, but the logs are still incomplete &amp;#8211; they seem to be only last 3 log files (.10, .9, .8) for each node. I really do need the complete thing, as the local history is communicated when a transaction chain is first created and on snapshot transfers. None of that is captured in the files &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/sad.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;</comment>
                            <comment id="51934" author="guy.sela@hpe.com" created="Thu, 20 Apr 2017 10:54:40 +0000"  >&lt;p&gt;Attachment odl1full.tar.gz has been added with description: ODL1 Full Log&lt;/p&gt;</comment>
                            <comment id="51935" author="guy.sela@hpe.com" created="Thu, 20 Apr 2017 10:56:51 +0000"  >&lt;p&gt;Attachment odl2A.tar.gz has been added with description: ODL2 Part A Full Log&lt;/p&gt;</comment>
                            <comment id="51936" author="guy.sela@hpe.com" created="Thu, 20 Apr 2017 10:57:06 +0000"  >&lt;p&gt;Attachment odl2B.tar.gz has been added with description: ODL2 Part B Full Log&lt;/p&gt;</comment>
                            <comment id="51937" author="guy.sela@hpe.com" created="Thu, 20 Apr 2017 10:57:18 +0000"  >&lt;p&gt;Attachment odl3A.tar.gz has been added with description: ODL3 Part A Full Log&lt;/p&gt;</comment>
                            <comment id="51938" author="guy.sela@hpe.com" created="Thu, 20 Apr 2017 10:57:33 +0000"  >&lt;p&gt;Attachment odl3B.tar.gz has been added with description: ODL3 Part B Full Log&lt;/p&gt;</comment>
                            <comment id="51939" author="guy.sela@hpe.com" created="Thu, 20 Apr 2017 10:57:44 +0000"  >&lt;p&gt;Attachment odl3C.tar.gz has been added with description: ODL3 Part C Full Log&lt;/p&gt;</comment>
                            <comment id="51917" author="guy.sela@hpe.com" created="Thu, 20 Apr 2017 10:57:56 +0000"  >&lt;p&gt;Done&lt;/p&gt;</comment>
                            <comment id="51918" author="rovarga" created="Thu, 20 Apr 2017 14:05:56 +0000"  >&lt;p&gt;Thanks, this looks promising &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;</comment>
                            <comment id="51919" author="rovarga" created="Thu, 20 Apr 2017 14:36:24 +0000"  >&lt;p&gt;The problem is that ShardCommitCoordinator.handleReadyLocalTransaction() invokes ShardDataTree.createReadyCohort() directly rather than going through transaction chain tracking in ShardDataTree.&lt;/p&gt;

&lt;p&gt;This is a consistency problem in ShardDataTree interfaces, as ShardDataTree.newReadWriteTransaction() actually does the tracking, leaving ShardCommitCoordinator totally ignorant of it.&lt;/p&gt;</comment>
                            <comment id="51920" author="rovarga" created="Thu, 20 Apr 2017 14:42:06 +0000"  >&lt;p&gt;carbon: &lt;a href=&quot;https://git.opendaylight.org/gerrit/55739&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/55739&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="51921" author="rovarga" created="Mon, 24 Apr 2017 11:36:02 +0000"  >&lt;p&gt;Agreed on killing DataTreeCohortActor. I have filed &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1641&quot; title=&quot;Integrate DataTreeCohortActor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1641&quot;&gt;&lt;del&gt;CONTROLLER-1641&lt;/del&gt;&lt;/a&gt; to track that.&lt;/p&gt;</comment>
                            <comment id="51922" author="rovarga" created="Mon, 24 Apr 2017 11:36:58 +0000"  >&lt;p&gt;Ugh, that comment should have gone someplace else.&lt;/p&gt;</comment>
                            <comment id="51923" author="rovarga" created="Tue, 16 May 2017 11:04:05 +0000"  >&lt;p&gt;This is still occurring in testing, notably in &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1664&quot; title=&quot;C: OutOfOrderRequestException: Expecting request 0 (while create-prefix-shard)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1664&quot;&gt;&lt;del&gt;CONTROLLER-1664&lt;/del&gt;&lt;/a&gt;. It happens on clean leader movement, when the leader transitions to being a follower.&lt;/p&gt;

&lt;p&gt;Logs indicate that the history was known when in leader role:&lt;/p&gt;

&lt;p&gt;2017-05-15 12:48:06,725 | DEBUG | lt-dispatcher-22 | AbstractFrontendHistory          | 199 - org.opendaylight.controller.sal-distributed-datastore - 1.5.0.SNAPSHOT | member-2-shard-default-config: allocating new open transaction member-3-datastore-config-fe-0-chn-2-txn-0-0&lt;/p&gt;

&lt;p&gt;but after transition to follower:&lt;/p&gt;

&lt;p&gt;2017-05-15 12:48:06,828 | INFO  | lt-dispatcher-22 | Shard                            | 192 - org.opendaylight.controller.sal-clustering-commons - 1.5.0.SNAPSHOT | member-2-shard-default-config (Leader) :- Switching from behavior Leader to Follower, election term: 3&lt;/p&gt;

&lt;p&gt;we get:&lt;/p&gt;

&lt;p&gt;2017-05-15 12:49:11,865 | WARN  | lt-dispatcher-26 | FrontendClientMetadataBuilder    | 199 - org.opendaylight.controller.sal-distributed-datastore - 1.5.0.SNAPSHOT | member-2-shard-default-config: Unknown history for commited transaction member-3-datastore-config-fe-0-chn-2-txn-2-0, ignoring&lt;/p&gt;

&lt;p&gt;The transaction chain in question is a long-lived one, which survives the leader ship change event.&lt;/p&gt;

&lt;p&gt;This evidence points to towards leader-side persistence codepath, which does not seem to apply lifecycle events to its own FrontendClientMetadataBuilder.&lt;/p&gt;</comment>
                            <comment id="51924" author="rovarga" created="Tue, 16 May 2017 11:28:16 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/57138&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/57138&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="65746" author="rovarga" created="Mon, 26 Nov 2018 10:31:04 +0000"  >&lt;p&gt;This is still surfacing in Genius 3-node CSIT.&lt;/p&gt;</comment>
                            <comment id="65747" author="rovarga" created="Mon, 26 Nov 2018 10:31:38 +0000"  >&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;2018-11-26T08:54:04,046 | DEBUG | opendaylight-cluster-data-shard-dispatcher-20 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-default-operational: Created local history LocalHistoryIdentifier{client=ClientIdentifier{frontend=member-2-frontend-datastore-operational, generation=0}, history=4, cookie=0}
2018-11-26T08:54:04,047 | DEBUG | opendaylight-cluster-data-shard-dispatcher-20 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-default-operational: Purged transaction member-2-datastore-operational-fe-0-txn-177-0
2018-11-26T08:54:04,050 | DEBUG | opendaylight-cluster-data-shard-dispatcher-44 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-default-operational: Created local history LocalHistoryIdentifier{client=ClientIdentifier{frontend=member-2-frontend-datastore-operational, generation=0}, history=5, cookie=0}
2018-11-26T08:54:04,050 | DEBUG | opendaylight-cluster-data-shard-dispatcher-44 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-default-operational: Closed history LocalHistoryIdentifier{client=ClientIdentifier{frontend=member-2-frontend-datastore-operational, generation=0}, history=4, cookie=0}
2018-11-26T08:54:04,051 | DEBUG | opendaylight-cluster-data-shard-dispatcher-44 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-default-operational: Purged history LocalHistoryIdentifier{client=ClientIdentifier{frontend=member-2-frontend-datastore-operational, generation=0}, history=4, cookie=0}
2018-11-26T08:54:04,051 | WARN&#160; | opendaylight-cluster-data-shard-dispatcher-44 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-default-operational: Unknown history for commited transaction member-2-datastore-operational-fe-0-chn-4-txn-0-0, ignoring
2018-11-26T08:54:04,054 | DEBUG | opendaylight-cluster-data-shard-dispatcher-42 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-topology-operational: Committed transaction member-1-datastore-operational-fe-0-chn-1-txn-54-0
2018-11-26T08:54:04,058 | WARN&#160; | opendaylight-cluster-data-shard-dispatcher-45 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-default-operational: Unknown history for purged transaction member-2-datastore-operational-fe-0-chn-4-txn-0-0, ignoring
2018-11-26T08:54:04,060 | DEBUG | opendaylight-cluster-data-shard-dispatcher-42 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-topology-operational: Purged transaction member-1-datastore-operational-fe-0-chn-1-txn-54-0
2018-11-26T08:54:04,068 | DEBUG | opendaylight-cluster-data-shard-dispatcher-42 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-default-operational: Committed transaction member-1-datastore-operational-fe-0-txn-115-0
2018-11-26T08:54:04,081 | DEBUG | opendaylight-cluster-data-shard-dispatcher-43 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-default-operational: Closed history LocalHistoryIdentifier{client=ClientIdentifier{frontend=member-2-frontend-datastore-operational, generation=0}, history=5, cookie=0}
2018-11-26T08:54:04,081 | DEBUG | opendaylight-cluster-data-shard-dispatcher-43 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-default-operational: Purged history LocalHistoryIdentifier{client=ClientIdentifier{frontend=member-2-frontend-datastore-operational, generation=0}, history=5, cookie=0}
2018-11-26T08:54:04,082 | DEBUG | opendaylight-cluster-data-shard-dispatcher-43 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-default-operational: Purged transaction member-1-datastore-operational-fe-0-txn-115-0
2018-11-26T08:54:04,082 | WARN&#160; | opendaylight-cluster-data-shard-dispatcher-43 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-default-operational: Unknown history for commited transaction member-2-datastore-operational-fe-0-chn-5-txn-0-0, ignoring
2018-11-26T08:54:04,086 | DEBUG | opendaylight-cluster-data-shard-dispatcher-42 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-topology-operational: Committed transaction member-1-datastore-operational-fe-0-chn-1-txn-55-0
2018-11-26T08:54:04,089 | DEBUG | opendaylight-cluster-data-shard-dispatcher-42 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-topology-operational: Purged transaction member-1-datastore-operational-fe-0-chn-1-txn-55-0
2018-11-26T08:54:04,097 | DEBUG | opendaylight-cluster-data-shard-dispatcher-45 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-default-config: Aborted transaction member-2-datastore-config-fe-0-txn-214-0
2018-11-26T08:54:04,098 | DEBUG | opendaylight-cluster-data-shard-dispatcher-45 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-default-config: Committed transaction member-2-datastore-config-fe-0-txn-216-0
2018-11-26T08:54:04,098 | DEBUG | opendaylight-cluster-data-shard-dispatcher-45 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-default-config: Aborted transaction member-2-datastore-config-fe-0-txn-215-0
2018-11-26T08:54:04,105 | DEBUG | opendaylight-cluster-data-shard-dispatcher-45 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-default-config: Aborted transaction member-2-datastore-config-fe-0-txn-217-0
2018-11-26T08:54:04,105 | DEBUG | opendaylight-cluster-data-shard-dispatcher-45 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-default-config: Aborted transaction member-2-datastore-config-fe-0-txn-218-0
2018-11-26T08:54:04,106 | WARN&#160; | opendaylight-cluster-data-shard-dispatcher-42 | FrontendClientMetadataBuilder&#160;&#160;&#160; | 232 - org.opendaylight.controller.sal-distributed-datastore - 1.9.0.SNAPSHOT | member-3-shard-default-operational: Unknown history for purged transaction member-2-datastore-operational-fe-0-chn-5-txn-0-0, ignoring
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="65748" author="rovarga" created="Mon, 26 Nov 2018 10:35:06 +0000"  >&lt;p&gt;This points towards CloseTransactionChain being too eager with purge. We are still tracking an unpurged transaction in the chain, hence we should not be removing it. The above happens if the user does:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
TransactionChain chain;
WriteTransaction tx = chain.newWriteOnlyTransaction();
&lt;span class=&quot;code-comment&quot;&gt;// some modifications
&lt;/span&gt;Future&amp;lt;?&amp;gt; &lt;span class=&quot;code-keyword&quot;&gt;future&lt;/span&gt; = tx.commit();
chain.close();
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Transaction commit will be waiting in the queue, while chain.close() will have an immediate effect &#8211; hence when the transaction completes, FrontendClientMetadataBuilder already has no record of the history.&lt;/p&gt;

&lt;p&gt;Under normal operation this has no ill effects aside from the annoying warning. During failover operations, this may cause the transaction to be aborted, as the new leader will have no memory of the history, preventing the transaction from being re-created.&lt;/p&gt;

&lt;p&gt;tell-based protocol is unaffected as far as I can tell, as it is using two separate messages {Destroy,Purge}HistoryRequest instead of a single CloseTransactionChain.&lt;/p&gt;</comment>
                            <comment id="65800" author="rovarga" created="Tue, 27 Nov 2018 22:36:32 +0000"  >&lt;p&gt;This will require postponing the purge until after all transactions are done. Tracking them down, though, may be a bit tricky, as they different states are tracked in different places (pending, committing, committed, purged). Since this is only for ask-based, we can probably not care about committed (a.k.a. closed) transactions and need to track down only transactions which are being committed.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="26207">CONTROLLER-1653</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="26192">CONTROLLER-1638</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13634" name="odl1.tar.gz" size="828095" author="guy.sela@hpe.com" created="Thu, 20 Apr 2017 09:57:44 +0000"/>
                            <attachment id="13633" name="odl1.tar.gz" size="717452" author="guy.sela@hpe.com" created="Sun, 9 Apr 2017 14:33:56 +0000"/>
                            <attachment id="13637" name="odl1full.tar.gz" size="510475" author="guy.sela@hpe.com" created="Thu, 20 Apr 2017 10:54:40 +0000"/>
                            <attachment id="13628" name="odl1karaf.zip" size="372128" author="guy.sela@hpe.com" created="Wed, 5 Apr 2017 13:39:15 +0000"/>
                            <attachment id="13635" name="odl2.tar.gz" size="696486" author="guy.sela@hpe.com" created="Thu, 20 Apr 2017 09:57:57 +0000"/>
                            <attachment id="13632" name="odl2.tar.gz" size="775133" author="guy.sela@hpe.com" created="Sun, 9 Apr 2017 14:33:22 +0000"/>
                            <attachment id="13638" name="odl2A.tar.gz" size="904182" author="guy.sela@hpe.com" created="Thu, 20 Apr 2017 10:56:51 +0000"/>
                            <attachment id="13639" name="odl2B.tar.gz" size="183193" author="guy.sela@hpe.com" created="Thu, 20 Apr 2017 10:57:06 +0000"/>
                            <attachment id="13629" name="odl2karaf.zip" size="325558" author="guy.sela@hpe.com" created="Wed, 5 Apr 2017 13:39:36 +0000"/>
                            <attachment id="13636" name="odl3.tar.gz" size="683094" author="guy.sela@hpe.com" created="Thu, 20 Apr 2017 09:58:11 +0000"/>
                            <attachment id="13631" name="odl3.tar.gz" size="766175" author="guy.sela@hpe.com" created="Sun, 9 Apr 2017 14:33:05 +0000"/>
                            <attachment id="13640" name="odl3A.tar.gz" size="849045" author="guy.sela@hpe.com" created="Thu, 20 Apr 2017 10:57:18 +0000"/>
                            <attachment id="13641" name="odl3B.tar.gz" size="869203" author="guy.sela@hpe.com" created="Thu, 20 Apr 2017 10:57:33 +0000"/>
                            <attachment id="13642" name="odl3C.tar.gz" size="799024" author="guy.sela@hpe.com" created="Thu, 20 Apr 2017 10:57:44 +0000"/>
                            <attachment id="13630" name="odl3karaf.zip" size="363100" author="guy.sela@hpe.com" created="Wed, 5 Apr 2017 13:39:50 +0000"/>
                    </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>8159</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=8159]]></customfieldvalue>

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

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

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

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