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 (apache#38133)

As title.
  • Loading branch information
TangSiyang2001 authored Jul 22, 2024
1 parent d1e7dbc commit 4589bb1
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2311,10 +2311,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 4589bb1

Please sign in to comment.