Skip to content

fix prewrite & commit log info to debug #776

Description

@jackjeyis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions