Cheers, saved the day
Lee C
On 28 September 2012 23:27, Chris Hostetter wrote:
>
> : The issue we face is the f5 balancer is returning a cookie which the
> client
> : is hanging onto. resulting in the same slave being hit for all requests.
> ...
> : My question is can I configure the sol
: The issue we face is the f5 balancer is returning a cookie which the client
: is hanging onto. resulting in the same slave being hit for all requests.
...
: My question is can I configure the solr server to ignore client state ? We
: are on solr 3.4
I'm not an expert on HTTP session aff
Ahh, I finally think I get it. I was missing the connection being
the CommonsHttpSolrServer. That's the thing that's locking
on to a particular slave
I'm afraid I'm not up enough on the internals here to be much
help, so I'll have to defer
Erick.
On Thu, Sep 27, 2012 at 10:20 AM, Lee Car
Hi Erick
Our application has one CommonsHttpSolrServer for each solr core used by
our web app. Whilst we have many web app clients
solr only has 1 client, our application. Does that make sense. This is why
sticky load balancing is an issue for us.
I cannot see any where the state is being handle
But again, why do you want to do this? I really think you don't.
I'm assuming that when you say this:
"...resulting in the same slave being hit for all requests."
you mean "all requests _from the same client_". If that's
not what's happening, then disregard my maundering
because when it comes to
Hi Erick,
the load balancer in front of the solr servers is dropping the cookie not
the solr server themselves.
are you saying the clients http connection manager builds will ignore this
state ? it looks like they do not. It looks like the
client is passing the cookie back to the load balancer
I
What client state? Solr servers are stateless, they don't
keep any information specific to particular clients so this
doesn't seem to be a problem.
What Solr _does_ do is cache things like fq clauses, but
these are not user-specific. Which actually argues for going
to the same slave on the theory