设为首页 - 加入收藏 ASP站长网(Aspzz.Cn)- 科技、建站、经验、云计算、5G、大数据,站长网!
热搜: 创业者 数据 手机
当前位置: 首页 > 站长学院 > MySql教程 > 正文

一文带你揭开Redis复制原理的神秘面纱(3)

发布时间:2019-09-17 08:52 所属栏目:115 来源:陈龙
导读:与此同时,可以在主库的日志中,观察到新加入的从库信息 18661:M04Aug201910:52:27.747*Replica127.0.0.1:6380asksforsynchronization 18661:M04Aug201910:52:27.747*Fullresyncrequestedbyreplica127.0.0.1:6380 1

与此同时,可以在主库的日志中,观察到新加入的从库信息

  1. 18661:M 04 Aug 2019 10:52:27.747 * Replica 127.0.0.1:6380 asks for synchronization 
  2. 18661:M 04 Aug 2019 10:52:27.747 * Full resync requested by replica 127.0.0.1:6380 
  3. 18661:M 04 Aug 2019 10:52:27.747 * Starting BGSAVE for SYNC with target: disk 
  4. 18661:M 04 Aug 2019 10:52:27.747 * Background saving started by pid 18832 
  5. 18832:C 04 Aug 2019 10:52:27.757 * DB saved on disk 
  6. 18832:C 04 Aug 2019 10:52:27.757 * RDB: 4 MB of memory used by copy-on-write 
  7. 18661:M 04 Aug 2019 10:52:27.788 * Background saving terminated with success 
  8. 18661:M 04 Aug 2019 10:52:27.788 * Synchronization with replica 127.0.0.1:6380 succeeded 

(4) 查看同步信息

(编辑:ASP站长网)

网友评论
推荐文章
    热点阅读