pika
pika copied to clipboard
tried to do my own version of pika by modifying code but have these issues
from https://github.com/OpenAtomFoundation/pika/discussions/2340
Description
when i tried to sync a replica slave, i get this error on both master and slave and both with segmentation fault.
how do i debug without additional information on where it crashed?
I20240123 04:58:24.052001 5180 dispatch_thread.cc:151] accept new conn 74:172.17.0.4:60260:0
I20240123 04:58:24.052095 5180 dispatch_thread.cc:159] find worker(0), refresh the last_thread_ to 0
I20240123 04:58:26.262593 5180 dispatch_thread.cc:151] accept new conn 74:172.17.0.5:49148:0
I20240123 04:58:26.262666 5180 dispatch_thread.cc:159] find worker(0), refresh the last_thread_ to 0
I20240123 04:58:26.263528 5151 pika_repl_server_conn.cc:38] Receive MetaSync, Slave ip: 172.17.0.5, Slave port:9221
I20240123 04:58:26.263561 5151 pika_server.cc:790] Add New Slave, 172.17.0.5:9221
I20240123 04:58:26.263980 5180 dispatch_thread.cc:151] accept new conn 76:172.17.0.5:49152:0
I20240123 04:58:26.264007 5180 dispatch_thread.cc:159] find worker(0), refresh the last_thread_ to 0
I20240123 04:58:26.410348 5152 pika_repl_server_conn.cc:106] Receive Trysync, Slave ip: 172.17.0.5, Slave port:9221, Slot: db0, filenum: 0, pro_offset: 0
I20240123 04:58:26.410557 5152 pika_rm.cc:69] Add Slave Node, slot: (db0:0), ip_port: 172.17.0.5:9221
I20240123 04:58:26.410585 5152 pika_repl_server_conn.cc:173] Slot: db0 TrySync Success, Session: 0
I20240123 04:58:27.602931 4980 pika_server.cc:2041] hit rate:0
Keep-alive check1: 1
I20240123 04:58:29.053215 5180 dispatch_thread.cc:151] accept new conn 77:172.17.0.4:60266:0
I20240123 04:58:29.053287 5180 dispatch_thread.cc:159] find worker(0), refresh the last_thread_ to 0
I20240123 04:58:30.319111 5180 dispatch_thread.cc:151] accept new conn 77:172.17.0.4:60270:0
I20240123 04:58:30.319192 5180 dispatch_thread.cc:159] find worker(0), refresh the last_thread_ to 0
I20240123 04:58:32.603063 4980 pika_server.cc:2041] hit rate:0
Keep-alive check1: 1
I20240123 04:58:32.899376 5157 pika_repl_server.cc:26] PikaReplServer exit!!!
I20240123 04:58:32.899466 5157 pika_repl_server_thread.cc:24] ServerThread Close Slave Conn, fd: 74, ip_port: 172.17.0.5:43786
I20240123 04:58:32.899482 5157 pika_server.cc:689] Delete Slave Success, ip_port: 172.17.0.5:9221
I20240123 04:58:32.899566 5157 pika_rm.cc:80] Remove Slave Node, Slot: (db0:0), ip_port: 172.17.0.5:9221
I20240123 04:58:34.055202 5180 dispatch_thread.cc:151] accept new conn 3:172.17.0.4:37606:0
I20240123 04:58:34.055296 5180 dispatch_thread.cc:159] find worker(0), refresh the last_thread_ to 0
Segmentation fault (core dumped)
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