client-java icon indicating copy to clipboard operation
client-java copied to clipboard

fix prewrite & commit log info to debug

Open jackjeyis opened this issue 2 years ago • 0 comments

Bug Report

1. Describe the bug

TwoPhaseCommit prewrite 、commit log use info level

2. Minimal reproduce step (Required)

3. What did you see instead (Required)

  LOG.info(
      "start commit secondary key, row={}, size={}KB, regionId={}",
      batchKeys.getKeys().size(),
      batchKeys.getSizeInKB(),
      batchKeys.getRegion().getId());

4. What did you expect to see? (Required)

if (LOG.isDebugEnabled()) {
  LOG.debug(
      "start commit secondary key, row={}, size={}KB, regionId={}",
      batchKeys.getKeys().size(),
      batchKeys.getSizeInKB(),
      batchKeys.getRegion().getId());
}

5. What are your Java Client and TiKV versions? (Required)

  • Client Java: 3.3.5
  • TiKV: 7.5.0

jackjeyis avatar Jan 18 '24 06:01 jackjeyis