In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The following talk about mastering MySQL semi-synchronous replication technology handle_slave_io function calls read_event function method, the secret of the text is close to the topic related. So, no gossip, let's read the following directly, I believe you will benefit from this article after mastering MySQL semi-synchronous replication technology handle_slave_io function calling read_event function method.
The read_event function reads the event from the connection, and if there is no event, it will block here waiting for the master to send the event.
# 0 0x00898402 in _ kernel_vsyscall () # 1 0x00c28133 in poll () from / lib/libc.so.6#2 0x08a90315 in vio_io_wait (vio=0xa82faa8, event=VIO_IO_EVENT_READ, timeout=3600000) at / home/mysql26/mysql-5.6.26/vio/viosocket.c:771#3 0x08a8eb78 in vio_socket_io_wait (vio=0xa82faa8, event=VIO_IO_EVENT_READ) at / home/mysql26/mysql-5.6.26/vio/viosocket.c:68#4 0x08a8ec6a in vio_read (vio=0xa82faa8, buf=0xa882c90 "P") Size=16384) at / home/mysql26/mysql-5.6.26/vio/viosocket.c:123#5 0x08a8ef05 in vio_read_buff (vio=0xa82faa8, buf=0xa89a530 "\ 031", size=4) at / home/mysql26/mysql-5.6.26/vio/viosocket.c:157#6 0x0830e010 in net_read_raw_loop (net=0xa7591b8 Count=4) at / home/mysql26/mysql-5.6.26/sql/net_serv.cc:669#7 0x0830e1f2 in net_read_packet_header (net=0xa7591b8) at / home/mysql26/mysql-5.6.26/sql/net_serv.cc:757#8 0x0830ef83 in net_read_packet (net=0xa7591b8 Complen=0xa34fc168) at / home/mysql26/mysql-5.6.26/sql/net_serv.cc:816#9 0x0830f0ea in my_net_read (net=0xa7591b8) at / home/mysql26/mysql-5.6.26/sql/net_serv.cc:894#10 0x084af8a0 in cli_safe_read (mysql=0xa7591b8) at / home/mysql26/mysql-5.6.26/sql-common/client.c:620#11 0x0866f2da in read_event (mysql=0xa7591b8, mi=0xa709368) Suppress_warnings=0xa34fc31b) at / home/mysql26/mysql-5.6.26/sql/rpl_slave.cc:3533#12 0x086799f6 in handle_slave_io (arg=0xa709368) at / home/mysql26/mysql-5.6.26/sql/rpl_slave.cc:4730#13 0x089b3141 in pfs_spawn_thread (arg=0xa8302b0) at / home/mysql26/mysql-5.6.26/storage/perfschema/pfs.cc:1860#14 0x00cdc832 in start_thread () from / lib/libpthread.so.0#15 0x00c31e0e In clone () from / lib/libc.so.6
For the above mastering MySQL semi-synchronous replication technology handle_slave_io function calls read_event function method related content, is there anything we do not understand? Or if you want to know more about it, you can continue to follow our industry information section.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.