Skip to content

tikv_gc_safe_point in mysql.tidb does not go forward when autocommit = 0 for global #24976

@jackysp

Description

@jackysp

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. set global autocommit = 0
  2. keep on select variable_value from mysql.tidb where variable_name = 'tikv_gc_safe_point'; to check the value will change or not.

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

Value changed.

3. What did you see instead (Required)

Not changed. If I set global autocommit = 1, it will go forward again.

4. What is your TiDB version? (Required)

v5.0.1, v4.0.12

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions