pingcap / pingcap/tidb

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

Open
#51,740 1 comment 0 reactions 0 assignees View on GitHub
affects-8.1 good first issue severity/moderate sig/sql-infra type/bug
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Bug Report

Please answer these questions before submitting your issue. Thanks!

### 1. Minimal reproduce step (Required)

```SQL
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.