Skip to content

Commit

Permalink
[enhancement](log) Changed log of waiting previous transactions to in…
Browse files Browse the repository at this point in the history
…fo level for debug convenience (#38133)

As title.
  • Loading branch information
TangSiyang2001 committed Jul 23, 2024
1 parent b6dd7bc commit e1285e3
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2122,10 +2122,8 @@ public boolean isPreviousTransactionsFinished(long endTransactionId, List<Long>
continue;
}
if (entry.getKey() <= endTransactionId) {
if (LOG.isDebugEnabled()) {
LOG.debug("find a running txn with txn_id={} on db: {}, less than watermark txn_id {}",
entry.getKey(), dbId, endTransactionId);
}
LOG.info("find a running txn with txn_id={} on db: {}, less than watermark txn_id {}",
entry.getKey(), dbId, endTransactionId);
return false;
}
}
Expand Down

0 comments on commit e1285e3

Please sign in to comment.