I am very new to postgres and being new i have got stuck at a point and need some help, please pardon if you find it silly
I am doing a pgpool HA and at postgres level i have streaming replication between 3 nodes of postgresql-9.5 - 1 master and 2 slaves I was trying to configure auto failover but when i switched back to my original master, and restarted the postgres service, I am getting the following error:-
- slave 1-highest timeline 1 of the primary is behind recovery timeline 11
- slave 2-highest timeline 1 of the primary is behind recovery timeline 10
- slave 3-highest timeline 1 of the primary is behind recovery timeline 3
I tried deleting pg_xlog files in slaves and copying all the files from master pg_xlog into the slaves and then did a rsync. i also did a pg_rewind but it says "target server needs to use either data checksums or "wal_log_hints = on"" ( i have "wal_log_hints = on" set in postgresql.conf already) i tried doing a pg_basebackup but since the data base server in slaves are still starting up its not able to connect to the server
Is there any way to bring the master and the slave at a same timeline?
Can somebody please help. Thanx in advance