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) (#38230)

## Proposed changes

As title.
  • Loading branch information
TangSiyang2001 authored Jul 23, 2024
1 parent e28dcda commit ba5d23a
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 ba5d23a

Please sign in to comment.