You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Michel Dion <di...@gmail.com> on 2013/05/08 02:04:03 UTC
Index corrupted detection from http get command.
Hello,
I'm look for a way to detect solr index corruption using a http get
command. I've look at the /admin/ping and /admin/luke request handlers but
not sure if the their status provide guarantees that everything is all
right. The idea is to be able to tell a load balancer to put a given solr
instance out of rotation if its index is corrupted.
Thanks
Michel
Re: Index corrupted detection from http get command.
Posted by Michel Dion <di...@gmail.com>.
Thanks for your help.
On Thu, May 9, 2013 at 7:35 PM, Erick Erickson <er...@gmail.com>wrote:
> There's no way to do this that I know of..... There's the checkindex
> tool, but it's fairly expensive resource-wise and there's no HTTP
> command to do it.
>
> Best
> Erick
>
> On Tue, May 7, 2013 at 8:04 PM, Michel Dion <di...@gmail.com> wrote:
> > Hello,
> >
> > I'm look for a way to detect solr index corruption using a http get
> > command. I've look at the /admin/ping and /admin/luke request handlers
> but
> > not sure if the their status provide guarantees that everything is all
> > right. The idea is to be able to tell a load balancer to put a given solr
> > instance out of rotation if its index is corrupted.
> >
> > Thanks
> >
> > Michel
>
Re: Index corrupted detection from http get command.
Posted by Erick Erickson <er...@gmail.com>.
There's no way to do this that I know of..... There's the checkindex
tool, but it's fairly expensive resource-wise and there's no HTTP
command to do it.
Best
Erick
On Tue, May 7, 2013 at 8:04 PM, Michel Dion <di...@gmail.com> wrote:
> Hello,
>
> I'm look for a way to detect solr index corruption using a http get
> command. I've look at the /admin/ping and /admin/luke request handlers but
> not sure if the their status provide guarantees that everything is all
> right. The idea is to be able to tell a load balancer to put a given solr
> instance out of rotation if its index is corrupted.
>
> Thanks
>
> Michel
Re: Index corrupted detection from http get command.
Posted by Michel Dion <di...@gmail.com>.
We are going to production in a couple of weeks and up to now we haven't
experiment any index corruption during our development. I was asking that
because our SLA requires high availability and I want to make sure that we
can react quickly if corruption occurs. I think I'll go ahead with a
/admin/ping periodically called from the load balancer. Should be ok.
Thanks.
On Fri, May 10, 2013 at 9:10 AM, Erik Hatcher <er...@gmail.com>wrote:
> Would a non-successful /select?q={!cache=false}*:* query be sufficient?
> (if so, /admin/ping would do the trick) What's causing index corruption
> in your environment? That's a very unusual occurrence that would be good
> to have identified in gory detail if you can.
>
> Erik
>
> On May 7, 2013, at 20:04 , Michel Dion wrote:
>
> > Hello,
> >
> > I'm look for a way to detect solr index corruption using a http get
> > command. I've look at the /admin/ping and /admin/luke request handlers
> but
> > not sure if the their status provide guarantees that everything is all
> > right. The idea is to be able to tell a load balancer to put a given solr
> > instance out of rotation if its index is corrupted.
> >
> > Thanks
> >
> > Michel
>
>
Re: Index corrupted detection from http get command.
Posted by Erik Hatcher <er...@gmail.com>.
Would a non-successful /select?q={!cache=false}*:* query be sufficient? (if so, /admin/ping would do the trick) What's causing index corruption in your environment? That's a very unusual occurrence that would be good to have identified in gory detail if you can.
Erik
On May 7, 2013, at 20:04 , Michel Dion wrote:
> Hello,
>
> I'm look for a way to detect solr index corruption using a http get
> command. I've look at the /admin/ping and /admin/luke request handlers but
> not sure if the their status provide guarantees that everything is all
> right. The idea is to be able to tell a load balancer to put a given solr
> instance out of rotation if its index is corrupted.
>
> Thanks
>
> Michel