所以我有一个像 Master -> Slave1 -> Slave2 这样的设置。Slave1 从 Master 复制,Slave2 从 Slave1 复制。如果我将 Slave1 提升为 master,Slave2 是否可以继续从 Slave1 进行复制。这是我将 Slave1 提升为 master 后在 Slave2 上看到的日志:
2014-06-13 04:28:11 UTC LOG: replication terminated by primary server
2014-06-13 04:28:11 UTC DETAIL: End of WAL reached on timeline 3 at 3E/62B2C758.
2014-06-13 04:28:11 UTC LOG: fetching timeline history file for timeline 4 from primary server
2014-06-13 04:28:11 UTC LOG: invalid record length at 3E/62B2C758
2014-06-13 04:28:11 UTC LOG: restarted WAL streaming at 3E/62000000 on …
Run Code Online (Sandbox Code Playgroud)