Re: How to check if replication is running

2011-09-16 Thread Yury Kats
On 9/16/2011 4:58 PM, Brandon Fish wrote: > Hi Yury, > > You could try checking out the details command of the replication handler: > http://slave_host:port/solr/replication?command=details > which has information such as "isReplicating". How reliable is isReplicating? Is it updated on unexpected

Re: How to check if replication is running

2011-09-16 Thread Brandon Fish
Adding missing link to the issue I mentioned: https://issues.apache.org/jira/browse/SOLR-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851462#action_12851462 2011/9/16 Yury Kats > Let's say I'm forcing a replication of a core using "fetchindex" com

Re: How to check if replication is running

2011-09-16 Thread Brandon Fish
Hi Yury, You could try checking out the details command of the replication handler: http://slave_host:port/solr/replication?command=details which has information such as "isReplicating". You could also look at the script attached to this issue which shows a thorough check of a slaves replication

How to check if replication is running

2011-09-16 Thread Yury Kats
Let's say I'm forcing a replication of a core using "fetchindex" command. No new content is being added to the master. I can check whether replication has finished by periodically querying master and slave for their "indexversion" and comparing the two. But what's the best way to check if replica