So I have a setup like Master -> Slave1 -> Slave2. Slave1 replicates from Master and Slave2 replicates from Slave1. If I promote Slave1 to master is it possible for Slave2 to continue replicating from Slave1. This the log I see on Slave2 after I promote Slave1 to master:
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 timeline 3
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:16 UTC LOG: restarted WAL streaming at 3E/62000000 on timeline 3
2014-06-13 04:28:16 UTC LOG: replication terminated by primary server