Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

执行 raft on_apply 方法附近会崩溃 #421

Open
luky116 opened this issue Aug 15, 2024 · 3 comments
Open

执行 raft on_apply 方法附近会崩溃 #421

luky116 opened this issue Aug 15, 2024 · 3 comments
Assignees
Labels
☢️ Bug Something isn't working

Comments

@luky116
Copy link
Collaborator

luky116 commented Aug 15, 2024

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)

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

@luky116 luky116 added the ☢️ Bug Something isn't working label Aug 15, 2024
@Issues-translate-bot
Copy link

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


Title: It will crash near the execution of raft on_apply method

@longfar-ncy
Copy link
Collaborator

@gukj-spel

@Issues-translate-bot
Copy link

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


@gukj games

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
☢️ Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants