pingcap/tidb

Mismatch unit of configuration item when set and then get config via SQL

Open

#51,740 创建于 2024年3月13日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Go (40,090 star) (6,186 fork)batch import
affects-8.1good first issueseverity/moderatesig/sql-infratype/bug

描述

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

set config tikv `raftstore.raft-entry-max-size`='24MB';

show config where type='tikv' and name ='raftstore.raft-entry-max-size';

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

The output value should be consistent with the input '24MB';

3. What did you see instead (Required)

'24MiB'. In other words, MiB vs MB.

4. What is your TiDB version? (Required)

v7.5.1

贡献者指南

Mismatch unit of configuration item when set and then get config via SQL · pingcap/tidb#51740 | Good First Issue