what if the master instance goes down and comes back? As the slave will be still up and running when the master becomes available will there be any synchronization problems?
Help in finding the solution to this.
Thanks in advance.
No. As soon as your master goes down your slave become master and when old master comes back it join as slave in cluster. See http://crxcluster.wemblog.com/ to understand cluster better.
You will not have any problem in syncing when your master will up because it will sync the session with slave (as standard approach). As Yogesh mentioend just go through the url to look at more information.
Retrieving data ...