We have system(Cluster) with Master replicating to 2 stand by servers.

i.e

M |-------> S1

|-------> S2

If master failed, we do a trigger file at S1 to take over as master. Now we need to re-point the standby S2 as slave for the new master (i.e S1)

While trying to start standby S2,there is a conflict in timelines, since on recovery it generates a new time line.

Is there any way to solve this?