basho / riak

Riak is a decentralized datastore from Basho Technologies.
http://docs.basho.com
Apache License 2.0
3.95k stars 537 forks source link

Riak allows connections to solr before solr is ready to accept connections [JIRA: RIAK-3217] #892

Open asyncmind0 opened 7 years ago

asyncmind0 commented 7 years ago

When I restart riak , while queries are being made to it, as soon as riak becomes available solr queries fail because solr is not ready yet.

to replicate

bucket.enable_search()
bucket.new("one", data={'value':'one'},
           content_type="application/json").store()
while True:
    sleep(1)
    bucket.search('value=one')

restart riak while the above code is executing