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

Bar Rotstein commented on SOLR-12955:
-------------------------------------

New patch.
DistributedUpdateProcessor#fetchFullDocumentFromLeader now throws an exception 
if a leader URL cannot be resolved, as it did prior to this refactor.

> Refactor DistributedUpdateProcessor
> -----------------------------------
>
>                 Key: SOLR-12955
>                 URL: https://issues.apache.org/jira/browse/SOLR-12955
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Bar Rotstein
>            Priority: Major
>         Attachments: SOLR-12955.patch, SOLR-12955.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Lately As I was skimming through Solr's code base I noticed that 
> DistributedUpdateProcessor has a lot of nested if else statements, which 
> hampers code readability.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to