lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <shalinman...@gmail.com>
Subject Re: Threading in LBHttpSolrServer
Date Tue, 12 May 2009 18:59:15 GMT
On Tue, May 12, 2009 at 9:06 PM, Mark Miller <markrmiller@gmail.com> wrote:

> I think we have to take another look at the thread safety in
> LBHttpSolrServer. At a minimum it appears to be using double-checked locking
> with aliveCheckExecutor? I'll look closer later, but I think there are a
> couple issues.
>

You are right. The executor should be volatile.
-- 
Regards,
Shalin Shekhar Mangar.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message