facebook / facebook/rocksdb

When the disk space is full and recovered, some write threads are stuck and cannot heal themselves.

Open
#9,876 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

### Version
* RocksDB version: 5.18.3

### Expected behavior
* When the disk space is full and recovered, the database should resume normal writing.
### Actual behavior
* When the disk space is full and recovered, the database does not resume normal writing.
* Some write threads are stuck and cannot heal themselves.

### Steps to reproduce the behavior
* Stack information for a stuck thread
![image](https://user-images.githubusercontent.com/22393698/164132304-91bcfa2e-9182-4cc4-912e-985352f3c829.png)

* When I tried to debug, I found that the link_older linked list formed a ring.
![image](https://user-images.githubusercontent.com/22393698/164132551-bc3c923f-b5f6-4364-877a-848751b60255.png)

* keep printing link_older
![image](https://user-images.githubusercontent.com/22393698/164132750-3afccf63-ec78-4a22-bc8e-a037fcb35e64.png)

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.