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

Dennis Gove commented on SOLR-6465:
-----------------------------------

I was able to get this to apply to 5.5 by first applying 
https://issues.apache.org/jira/secure/attachment/12775961/SOLR-6273-plus-8263-5x.patch
 which is attached to SOLR-6273. I did need to make some minor tweaks to that 
patch as it didn't apply perfectly cleanly and left a couple of minor 
compilation errors (visibility of certain variables to extension classes). 

This patch also required a few tweaks as it didn't apply cleanly but more-so it 
appears the patch contains Java lambdas which do not work in Java 7 or below.
{code}
common.compile-core:
    [javac] Compiling 25 source files to 
/Users/dgove1/dev/bfs/lucene-solr/solr/build/solr-core/classes/java
    [javac] warning: [options] bootstrap class path not set in conjunction with 
-source 1.7
    [javac] 
/Users/dgove1/dev/bfs/lucene-solr/solr/core/src/java/org/apache/solr/handler/CdcrRequestHandler.java:623:
 error: lambda expressions are not supported in -source 1.7
    [javac]     Runnable thread = () -> {
    [javac]                          ^
    [javac]   (use -source 8 or higher to enable lambda expressions)
    [javac] 1 error
    [javac] 1 warning
{code}

> CDCR: fall back to whole-index replication when tlogs are insufficient
> ----------------------------------------------------------------------
>
>                 Key: SOLR-6465
>                 URL: https://issues.apache.org/jira/browse/SOLR-6465
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Yonik Seeley
>         Attachments: SOLR-6465.patch, SOLR-6465.patch
>
>
> When the peer-shard doesn't have transaction logs to forward all the needed 
> updates to bring a peer up to date, we need to fall back to normal 
> replication.



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

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

Reply via email to