// We have to send the response only after persistence has completed
final ShardDataTreeTransactionChain chain = tree.ensureTransactionChain(historyId, () -> {
LOG.debug("{}: persisted history {}", persistenceId, historyId);
// We have to send the response only after persistence has completed
final ShardDataTreeTransactionChain chain = tree.ensureTransactionChain(historyId, () -> {
LOG.debug("{}: persisted history {}", persistenceId, historyId);