@Override
public void onComplete(final Throwable failure, final ActorSelection success) {
if (failure != null) {
- LOG.info("Failed to prepare transaction {} on backend", transaction.getIdentifier(), failure);
+ LOG.warn("Failed to prepare transaction {} on backend", transaction.getIdentifier(), failure);
transactionAborted(transaction);
return;
}
@Override
public void onComplete(final Throwable failure, final Object message) {
if (failure != null) {
- LOG.error("Failed to prepare transaction {} on backend", transaction.getIdentifier(), failure);
+ LOG.warn("Failed to prepare transaction {} on backend", transaction.getIdentifier(), failure);
transactionAborted(transaction);
} else if (CommitTransactionReply.isSerializedType(message)) {
LOG.debug("Transaction {} committed successfully", transaction.getIdentifier());