OpenAtomFoundation / pikiwidb

a high-performance, large-capacity, multi-tenant, data-persistent, strong data consistency based on raft, Redis-compatible elastic KV data storage system based on RocksDB
BSD 3-Clause "New" or "Revised" License
195 stars 62 forks source link

pikiwidb 运行过程中突然崩溃 #416

Open luky116 opened 1 month ago

luky116 commented 1 month ago

Is this a regression?

Yes

Description

跑 go test 集成测试,发现 pikiwidb 进程突然崩溃了

[2024-08-14 15:49:17.145 #15167733 storage.cc:156 info] open RocksDB0 success! [2024-08-14 15:49:17.145 #15167733 db.cc:62 info] Open DB0 success! [2024-08-14 15:49:18.234 #15167734 base_cmd.cc:40 debug] execute command: hset [2024-08-14 15:49:18.249 #15167735 base_cmd.cc:40 debug] execute command: hincrbyfloat [2024-08-14 15:49:18.257 #15167732 base_cmd.cc:40 debug] execute command: hset [2024-08-14 15:49:18.266 #15167733 base_cmd.cc:40 debug] execute command: hincrbyfloat [2024-08-14 15:49:18.270 #15167730 pikiwidb.cc:167 info] Close connection id:63 msg: [2024-08-14 15:49:18.271 #15167730 pikiwidb.cc:159 info] New connection from fd:64 IP:127.0.0.1 port:52294 [2024-08-14 15:49:18.273 #15167735 base_cmd.cc:40 debug] execute command: flushdb [2024-08-14 15:49:18.274 #15167735 storage.cc:74 info] Storage begin to clear storage! libc++abi: terminating due to uncaught exception of type std::__1::system_error: condition_variable wait failed: Invalid argument

看起来和这个语句有关系: image

Please provide a link to a minimal reproduction of the bug

No response

Screenshots or videos

images

Please provide the version you discovered this bug in (check about page for version information)

No response

Anything else?

No response

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.


Title: pikiwidb suddenly crashed during operation