You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2016/11/25 15:59:58 UTC

[jira] [Commented] (SOLR-6819) Being able to configure the updates log implementation from solrconfig.xml

    [ https://issues.apache.org/jira/browse/SOLR-6819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15696177#comment-15696177 ] 

David Smiley commented on SOLR-6819:
------------------------------------

Does the resolution status of "Implemented" supposed to mean _Already_ Implemented?  If so I should use this more often in my JIRA cleanup.

> Being able to configure the updates log implementation from solrconfig.xml
> --------------------------------------------------------------------------
>
>                 Key: SOLR-6819
>                 URL: https://issues.apache.org/jira/browse/SOLR-6819
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud, update
>    Affects Versions: 6.0
>            Reporter: Renaud Delbru
>         Attachments: SOLR-6819.patch, SOLR-6819.patch
>
>
> CDCR requires its own implementation of the updates log. At the moment, there is no way to configure the class to use when instantiating the updates log. The UpdateHandler is deciding to instantiate the base class UpdateLog or its hdfs version HdfsUpdateLog based on the directory path prefix.
> We can extend the UpdateHandler to allow for a class parameter to be defined for the updateLog section of the solrconfig.xml. For example, the relevant part of the solrconfig,xml will look like:
> {code:xml}
>   <updateHandler class="solr.DirectUpdateHandler2">
>     <updateLog class="solr.CdcrUpdateLog">
>       <str name="dir">${solr.ulog.dir:}</str>
>     </updateLog>
>   </updateHandler>
> {code} 
> where the updateLog entry has a parameter class that indicates that the CdcrUpdateLog implementation must be used.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org