incubator-lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From goran kent <gorank...@gmail.com>
Subject Re: [lucy-user] Concurrent searching
Date Fri, 18 Nov 2011 18:18:59 GMT
On Fri, Nov 18, 2011 at 4:14 PM, Marvin Humphrey <marvin@rectangular.com> wrote:
>> Then fails with:
>>  at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/LucyX/Remote/SearchServer.pm
>> line 104
>>       LucyX::Remote::SearchServer::serve('LucyX::Remote::SearchServer=SCALAR(0xb8d5190)')
>> called at ./lucy_remote_search_server line 212
>>
>> The client fails with:
>> Use of uninitialized value in numeric eq (==) at
>> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/LucyX/Remote/ClusterSearcher.pm
>> line 158.
>
> This is almost certainly happening because we have enabled non-blocking i/o
> but not yet taken all the necessary precautions to detect and retry when
> reads/writes do not succeed.  I expect to work on this soon.  In the meantime,
> I suggest commenting out one line in ClusterSearcher.pm (only needed on the
> client node):
>
>    +++ b/perl/lib/LucyX/Remote/ClusterSearcher.pm
>    @@ -53,7 +53,7 @@ sub new {
>             my $sock = IO::Socket::INET->new(
>                 PeerAddr => $shard,
>                 Proto    => 'tcp',
>    -            Blocking => 0,
>    +            #Blocking => 0,
>             );

OK, unfortunately it's failing with exactly the same error despite the change.

I'll monitor the commit list and try not to bug you ;-)

Mime
View raw message