[MDSAL-137] Transaction fails to set next transaction while the previous one was successfull Created: 25/Mar/16  Updated: 09/Mar/18  Resolved: 31/Mar/16

Status: Resolved
Project: mdsal
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Martin Mihálek Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 5606

 Description   

2016-03-25 11:40:43,191 | WARN | CommitFutures-3 | PingPongTransactionChain | 118 - org.opendaylight.controller.sal-broker-impl - 1.4.0.SNAPSHOT | Submitting transaction PingPongTransaction

{delegate=org.opendaylight.controller.cluster.databroker.DOMBrokerReadWriteTransaction@54e00608} while PingPongTransaction{delegate=org.opendaylight.controller.cluster.databroker.DOMBrokerReadWriteTransaction@5a27e2e4} is still running
Exception in thread "CommitFutures-2" java.lang.IllegalStateException: Completed transaction PingPongTransaction{delegate=org.opendaylight.controller.cluster.databroker.DOMBrokerReadWriteTransaction@54e00608}

while null was submitted
at com.google.common.base.Preconditions.checkState(Preconditions.java:197)
at org.opendaylight.controller.md.sal.dom.broker.impl.PingPongTransactionChain.processNextTransaction(PingPongTransactionChain.java:212)
at org.opendaylight.controller.md.sal.dom.broker.impl.PingPongTransactionChain.transactionSuccessful(PingPongTransactionChain.java:230)
at org.opendaylight.controller.md.sal.dom.broker.impl.PingPongTransactionChain.access$300(PingPongTransactionChain.java:54)
at org.opendaylight.controller.md.sal.dom.broker.impl.PingPongTransactionChain$2.onSuccess(PingPongTransactionChain.java:200)
at org.opendaylight.controller.md.sal.dom.broker.impl.PingPongTransactionChain$2.onSuccess(PingPongTransactionChain.java:197)
at com.google.common.util.concurrent.Futures$6.run(Futures.java:1319)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Transaction fails to set next transaction while the previous one was successfull

Steps to reproduce: Compile and run this patch https://git.opendaylight.org/gerrit/#/c/36550/



 Comments   
Comment by Martin Mihálek [ 25/Mar/16 ]

https://git.opendaylight.org/gerrit/#/c/36749/
After applying this patch problem is fixed.

Generated at Wed Feb 07 20:08:44 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.