同步使用的是发布/订阅机制。Slave的模式,从Slave向Master发起SYNC命令。Replicationrole:slavemaster_host:10.86.255.166master_port:6379master_link_status:upmaster_last_io_seconds_ago:7master_sync_in_progress:0slave_repl_offset:365slave_priority:100slave_read_only:1connected_slaves:0master_repl_offset:0repl_backlog_active:0repl_backlog_size:1048576repl_backlog_first_byte_offset:0repl_backlog_histlen:0同期正常时:master_link_status:upmaster_repl_offset和slave_repl_offset相等,master_last_io_seconds_ago在10秒内。mysql分区表之一:分区原理和优缺点Windows使用AnyProxy抓包(详细)。