lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <elyog...@elyograg.org>
Subject Re: [solr-solrcloud] How does DIH work when there are multiple nodes?
Date Fri, 04 Jan 2019 17:25:11 GMT
On 1/4/2019 1:04 AM, 유정인 wrote:
> The reader was looking for a way to do 'DIH' automatically.
>
> The reason was for HA configuration.

If you send a DIH request to the collection (as opposed to a specific 
core), that request will be load balanced across the cloud.  You won't 
know which replica/core actually handles it. This means that an import 
command may be handled by a different host than a status command.  In 
that situation, the status command will not know about the import, 
because it will be running on a different Solr core.

When doing DIH on SolrCloud, you should send your requests directly to a 
specific core on a specific node.  It's the only way to be sure what's 
happening.  High availability would have to be handled in your application.

Thanks,
Shawn


Mime
View raw message