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

Logical error: 'Session response callback with id 0x7 has already registered #169

Open
JackyWoo opened this issue Jan 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JackyWoo
Copy link
Contributor

JackyWoo commented Jan 15, 2024

RaftKeeper version

v2.0.4

Description

Logical error: 'Session response callback with id 0x7 has already registered when reconnecting.

2024-01-15T03:45:41.1263562Z 2024.01.15 03:38:46.941590 [ 168 ] <Debug> NuRaft: socket 0x7b4800000618 to node2:8103 is not opened yet
2024-01-15T03:45:41.1263938Z 2024.01.15 03:38:46.941623 [ 200 ] <Trace> ConnectionHandler: Peer 192.168.32.1:45522#0x0 read request length : 45
2024-01-15T03:45:41.1264435Z 2024.01.15 03:38:46.941706 [ 200 ] <Trace> ConnectionHandler: Peer 192.168.32.1:45522#0x0 read request done, body length : 45, req_body_buf used 45
2024-01-15T03:45:41.1264804Z 2024.01.15 03:38:46.941766 [ 200 ] <Debug> ConnectionHandler: Received new session request with internal id 0x7
2024-01-15T03:45:41.1265325Z 2024.01.15 03:38:46.941824 [ 200 ] <Debug> KeeperDispatcher: Register session response callback 0x7
2024-01-15T03:45:41.1265696Z 2024.01.15 03:38:46.941894 [ 165 ] <Information> NuRaft: 0x7b480004ff98 connected to node3:8103 (as a client)
2024-01-15T03:45:41.1266208Z 2024.01.15 03:38:46.942030 [ 200 ] <Fatal> : Logical error: 'Session response callback with id 0x7 has already registered'.
2024-01-15T03:45:41.1266543Z 2024.01.15 03:38:46.942278 [ 167 ] <Information> NuRaft: 0x7b4800000618 connected to node2:8103 (as a client)
2024-01-15T03:45:41.1266759Z 2024.01.15 03:38:46.942319 [ 155 ] <Trace> BaseDaemon: Received signal 6
2024-01-15T03:45:41.1267246Z 2024.01.15 03:38:46.942790 [ 166 ] <Debug> NuRaft: Receive a pre_vote_response message from peer 3 with Result=1, Term=2, NextIndex=18
2024-01-15T03:45:41.1268159Z 2024.01.15 03:38:46.942853 [ 166 ] <Information> NuRaft: [PRE-VOTE RESP] peer 3 (O), term 2, resp term 2, my role candidate, dead 2, live 0, abandoned 0, num voting members 3, quorum 2
2024-01-15T03:45:41.1268438Z 2024.01.15 03:38:46.942919 [ 210 ] <Fatal> BaseDaemon: ########################################
2024-01-15T03:45:41.1268896Z 2024.01.15 03:38:46.943004 [ 166 ] <Information> NuRaft: [PRE-VOTE DONE] SUCCESS, term 2
2024-01-15T03:45:41.1269255Z 2024.01.15 03:38:46.943033 [ 166 ] <Information> NuRaft: [PRE-VOTE DONE] initiate actual vote
2024-01-15T03:45:41.1269747Z 2024.01.15 03:38:46.943057 [ 210 ] <Fatal> BaseDaemon: (version v2.0.4, build id: 12F34F660284A1F5) (from thread 200) Received signal Aborted (6)
2024-01-15T03:45:41.1269901Z 2024.01.15 03:38:46.943134 [ 210 ] <Fatal> BaseDaemon: 
2024-01-15T03:45:41.1270907Z 2024.01.15 03:38:46.943225 [ 210 ] <Fatal> BaseDaemon: Stack trace: 0x7f4034a0da7c 0x7f40349b9476 0x7f403499f7f3 0x776b3b 0x7fca76 0x7fcc80 0x8a8a96 0x8da276 0x8a3c29 0x89f2f6 0x8a950f 0x87d869 0x87e811 0x877c1d 0x875a26 0x8780f4 0xcdca20 0xcdb127 0x771259 0x7f4034a0bb43 0x7f4034a9cbb4

How to reproduce

@JackyWoo JackyWoo added the bug Something isn't working label Jan 15, 2024
@JackyWoo JackyWoo added this to the Release v2.0.4 milestone Jan 15, 2024
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

1 participant