[enhancement](log) Changed log of waiting previous transactions to info level for debug convenience (#38133) (#38230)

## Proposed changes

As title.
This commit is contained in:
Siyang Tang
2024-07-23 14:16:04 +08:00
committed by GitHub
parent e28dcda0e2
commit ba5d23aea8

View File

@ -2122,10 +2122,8 @@ public class DatabaseTransactionMgr {
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;
}
}