执行 raft on_apply 方法附近会崩溃
- Dominant language
- C++
- Stars
- 49
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
### Is this a regression?
None
### Description
### Is this a regression?
Yes
### Description
正常启动两个 pikiwidb,一个执行 RAFT.CLUSTER init,另一个执行 RAFT.CLUSTER node1 。往前者写数据,偶尔会出现程序 崩溃的情况
[2024-08-15 17:48:39.375 #56533 praft.cc:630 debug] append binlog: MessageLite at 0x6000017d0b90
W0815 17:48:43.144506 13315 /Users/sanyue/code/qihoo/pikiwidb1/build-debug/Source/extern_braft/src/braft/node.cpp:819] node pikiwidb:127.0.0.1:7231:0:0 term 3 steps down when alive nodes don't satisfy quorum dead_nodes: 127.0.0.1:8231:0:0 conf: 127.0.0.1:7231:0:0,127.0.0.1:8231:0:0
W0815 17:48:43.144515 14083 /Users/sanyue/code/qihoo/pikiwidb1/build-debug/Source/extern_braft/src/braft/node.cpp:819] node pikiwidb:127.0.0.1:7231:0:0 term 3 steps down when alive nodes don't satisfy quorum dead_nodes: 127.0.0.1:8231:0:0 conf: 127.0.0.1:7231:0:0,127.0.0.1:8231:0:0
W0815 17:48:44.192302 13571 /Users/sanyue/code/qihoo/pikiwidb1/build-debug/Source/extern_braft/src/braft/replicator.cpp:306] Group pikiwidb fail to issue RPC to 127.0.0.1:8231:0:0 _consecutive_error_times=1, [E1008]Reached timeout=500ms @127.0.0.1:8231
[2024-08-15 17:48:52.528 #65185 praft.cc:657 debug] apply binlog7: MessageLite at 0x10642bc38
Exception: EXC_BAD_ACCESS (code=1, address=0x7fb)
Exception: EXC_BAD_ACCESS (code=1, address=0x7fb)
Exception: EXC_BAD_ACCESS (code=1, address=0x7fb)
Exception: EXC_BAD_ACCESS (code=1, address=0x7fb)
Exception: EXC_BAD_ACCESS (code=1, address=0x7fb)

### Please provide a link to a minimal reproduction of the bug
_No response_
### Screenshots or videos

### Please provide the version you discovered this bug in (check about page for version information)
_No response_
### Anything else?
_No response_
### Please provide a link to a minimal reproduction of the bug
_No response_
### Screenshots or videos

### Please provide the version you discovered this bug in (check about page for version information)
_No response_
### Anything else?
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.