Re: How to find Master & Slave are in sync

2011-01-27 Thread Erick Erickson
Let's back up a moment and ask why you are doing this from scripts, because this feels like an XY problem, see: http://people.apache.org/~hossman/#xyproblem What are you trying to accomplish by swapping cores on the master and slave? Solr 1.4 has conf

Re: How to find Master & Slave are in sync

2011-01-27 Thread Shanmugavel SRD
Markus, The problem here is if I call the below two URLs immediately after replication then I am getting both the index versions as same. In my python script I have added code to swap the online core on master with offline core on master and online core on slave with offline core on slave, if bo

Re: How to find Master & Slave are in sync

2011-01-19 Thread Markus Jelsma
Notice the index version number? If it's equal, then they are in sync. On Wednesday 19 January 2011 13:37:32 Shanmugavel SRD wrote: > How to find Master & Slave are in sync? > Is there a way apart from checking the index version of master and slave > using below two HTTP APIs? > > http://master_h