Merge "Fix CloseTransactionChain NotSerializableException"
authorMoiz Raja <moraja@cisco.com>
Fri, 24 Apr 2015 14:08:01 +0000 (14:08 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Fri, 24 Apr 2015 14:08:02 +0000 (14:08 +0000)
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/TransactionChainProxy.java

index 5531b5f5401676a13d02a08b69683a2f31ca077a..cf261cbd2af103b70f3dfce9885903a88ee293e6 100644 (file)
@@ -112,7 +112,7 @@ public class TransactionChainProxy implements DOMStoreTransactionChain {
         currentState = CLOSED_STATE;
 
         // Send a close transaction chain request to each and every shard
-        actorContext.broadcast(new CloseTransactionChain(transactionChainId));
+        actorContext.broadcast(new CloseTransactionChain(transactionChainId).toSerializable());
     }
 
     private ChainedTransactionProxy allocateWriteTransaction(TransactionProxy.TransactionType type) {