Hi Ngan

In 2.1.0 there's been some patches that deal with these kinds of errors - TS 
will now retry searches if an error crops up on the client connection (which is 
also persisted per thread in a connection pool, saving socket setup/teardown 
time). If an error crops up, a new connection is made, but if the error 
persists, it'll still get raised…

Give 2.1.0 a spin, see if that helps matters.

-- 
Pat

On 09/08/2013, at 10:46 PM, Ngan wrote:

> Forgot to add the trace:
> 
> gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/search.rb:438:in `block in 
> populate' 
> gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/search.rb:606:in `call' 
> gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/search.rb:606:in 
> `retry_on_stale_index' 
> gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/search.rb:426:in `populate' 
> gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/search.rb:104:in `to_a' 
> 
> 
> 
> On Friday, August 9, 2013 5:45:55 AM UTC-7, Ngan wrote:
> Hi,
> 
> We reindex our entire index pretty often (once every 3 minutes) because we 
> have a pretty small data collection and we don't want to use delayed delta.  
> I notice however, that every once in a while, when we deploy our application 
> and it happens to be the same time the reindexing is about to rotate, we'll 
> get this error "no enabled local indexes to search" every time we hit sphinx 
> there afterwards.  When this happens, we have to restart our app so that it 
> picks up the new indexes.  We are reindexing with rotate so the existing 
> index should still be there and the rotation should be seamless.  Any ideas 
> on why this happens? And if there's anything to do about it?
> 
> Thanks,
> Ngan
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/thinking-sphinx.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to