X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2FShardDataTreeTransactionParent.java;h=23fa0c286a3c9728ff3c32a80155f88a0a176a0a;hb=0a2ed6b43f45b92f09c291e99e2e66a7fa18085f;hp=a280a2229111082c4abac657042a468971c957cc;hpb=4a9e1103eef316f18c4a14cfccb050bddc01564b;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTreeTransactionParent.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTreeTransactionParent.java index a280a22291..23fa0c286a 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTreeTransactionParent.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTreeTransactionParent.java @@ -18,5 +18,8 @@ abstract class ShardDataTreeTransactionParent { abstract ShardDataTreeCohort finishTransaction(ReadWriteShardDataTreeTransaction transaction); - abstract ShardDataTreeCohort createReadyCohort(TransactionIdentifier id, DataTreeModification mod); + abstract ShardDataTreeCohort createReadyCohort(TransactionIdentifier txId, DataTreeModification mod); + + abstract ShardDataTreeCohort createFailedCohort(TransactionIdentifier txId, DataTreeModification mod, + Exception failure); }