BUG-7033: Implement batchHint in ShardDataTree
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / Shard.java
index 23a5a0e20b7a584042956ebae566e82d3f9bde3e..90c47256b4c6b33bdf8e3b4f71eef7d88bb7fe90 100644 (file)
@@ -457,9 +457,9 @@ public class Shard extends RaftActor {
     }
 
     // applyState() will be invoked once consensus is reached on the payload
-    void persistPayload(final TransactionIdentifier transactionId, final Payload payload) {
+    void persistPayload(final TransactionIdentifier transactionId, final Payload payload, boolean batchHint) {
         // We are faking the sender
-        persistData(self(), transactionId, payload, false);
+        persistData(self(), transactionId, payload, batchHint);
     }
 
     private void handleCommitTransaction(final CommitTransaction commit) {