Remove recorded modification Futures from TransactionContext
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / WriteOnlyTransactionContextImpl.java
index e1313540c44868e7f8d81dc4f0a857411bf20a15..b9fe90dc1308aca5beb99007baa89b5200b97f20 100644 (file)
@@ -32,13 +32,12 @@ public class WriteOnlyTransactionContextImpl extends TransactionContextImpl {
 
     @Override
     public Future<ActorSelection> readyTransaction() {
 
     @Override
     public Future<ActorSelection> readyTransaction() {
-        LOG.debug("Tx {} readyTransaction called with {} previous recorded operations pending",
-            getIdentifier(), recordedOperationCount());
+        LOG.debug("Tx {} readyTransaction called", getIdentifier());
 
         // Send the remaining batched modifications if any.
 
         Future<Object> lastModificationsFuture = sendBatchedModifications(true);
 
 
         // Send the remaining batched modifications if any.
 
         Future<Object> lastModificationsFuture = sendBatchedModifications(true);
 
-        return combineRecordedOperationsFutures(lastModificationsFuture);
+        return transformReadyReply(lastModificationsFuture);
     }
 }
     }
 }