Hi,

We have recently been performing a bulk reindexing against a large database
of ours. At the end of reindexing all documents we successfully perform a
CloudSolrClient.commit(). The entire reindexing process takes around 9
hours. This is solr 7.3, by the way..

Anyway, immediately after the commit, we execute a
CloudSolrClient.optimize(), but immediately receive a "SolrServerException:
Timeout occurred while waiting response from server at" (followed by URL of
this collection).

We have never had an issue with this against bulk reindexes of smaller
databases (most are much smaller and reindexing takes only 10-15 minutes
with those). The other difference with this environment is that the
reindexing is performed across multiple threads (calls to solrCloud server
from a multi-threaded setup) for performance reasons, rather than a single
thread. However, the reindexing process itself is completely successful, its
just the subsequent optimization that fails.

Is there a simple way to avoid this timeout failure issue? Could it be a
matter of retrying until the optimize() request is successful (that is,
after a reasonable number of attempts) rather than just trying once and
quitting? Any and all ideas are greatly appreciated. Thanks!



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to