pingcap / pingcap/tidb

Start tidb-server failed when tmp-storage-quota exceed the capacity of directory and no error log in tidb.log

Open
#33,591 2 comments 0 reactions 0 assignees View on GitHub
affects-5.3 may-affects-4.0 may-affects-5.0 may-affects-5.1 may-affects-5.2 may-affects-5.4 may-affects-6.0 severity/minor 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)

1. set tmp-storage-quota
![image](https://user-images.githubusercontent.com/12085878/160779460-d7be679b-ca3a-4183-9a8f-ed82992f80e7.png)
2. reload tidb-server failed
![image](https://user-images.githubusercontent.com/12085878/160779666-b386a9e3-0ab7-4e1f-8f1f-3db904ddf3c4.png)
3. check tidb.log found there is no error log in it
![image](https://user-images.githubusercontent.com/12085878/160779899-e480a156-7d02-4ce6-a06c-62b7386f7213.png)
4. start tidb-server via run_tidb.sh found error info
![image](https://user-images.githubusercontent.com/12085878/160780045-b56b0b0a-edae-4636-9656-831065364ca2.png)

### 2. What did you expect to see? (Required)
Found fatal log in tidb.log.

### 3. What did you see instead (Required)
Fatal log didn't log in tidb.log.

### 4. What is your TiDB version? (Required)

v5.3.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.