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

Erick Erickson commented on SOLR-10974:
---------------------------------------

Please raise this question on the user's list at solr-u...@lucene.apache.org, 
see: (http://lucene.apache.org/solr/community.html#mailing-lists-irc) there are 
a _lot_ more people watching that list who may be able to help. 

If it's determined that this is a code issue in Solr and not a 
configuration/usage problem, we can raise a JIRA.


As it stands, there is very little information to go on here. Exactly _how_ did 
you "activate the replication of a shard via the web interface,"? 

> Replication - Unable to download tlog
> -------------------------------------
>
>                 Key: SOLR-10974
>                 URL: https://issues.apache.org/jira/browse/SOLR-10974
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: replication (java)
>    Affects Versions: 6.7
>         Environment: Redhat 7.2
>            Reporter: Rénald Koch
>
> When I activate the replication of a shard via the web interface, the data 
> will replicate well on the new shard, but once all the data has been copied, 
> the data will be erased and the synchronization will start again indefinitely.
> When I look in the logs, I have this error:
> 2017-06-29 10:51:39.768 ERROR 
> (recoveryExecutor-3-thread-1-processing-n:X.X.X.X:8983_solr 
> x:collection_shard2_replica2 s:shard2 c:collection r:core_node4) 
> [c:collection s:shard2 r:core_node4 x:collection_shard2_replica2] 
> o.a.s.h.ReplicationHandler Index fetch failed 
> :org.apache.solr.common.SolrException: Unable to download 
> tlog.0000000000002131263.1571535118797897728 completely. Downloaded 0!=871
>        at 
> org.apache.solr.handler.IndexFetcher$FileFetcher.cleanup(IndexFetcher.java:1591)
>        at 
> org.apache.solr.handler.IndexFetcher$FileFetcher.fetch(IndexFetcher.java:1474)
>        at 
> org.apache.solr.handler.IndexFetcher$FileFetcher.fetchFile(IndexFetcher.java:1449)
>        at 
> org.apache.solr.handler.IndexFetcher.downloadTlogFiles(IndexFetcher.java:893)
>        at 
> org.apache.solr.handler.IndexFetcher.fetchLatestIndex(IndexFetcher.java:494)
>        at 
> org.apache.solr.handler.IndexFetcher.fetchLatestIndex(IndexFetcher.java:301)
>        at 
> org.apache.solr.handler.ReplicationHandler.doFetch(ReplicationHandler.java:400)
>        at 
> org.apache.solr.cloud.RecoveryStrategy.replicate(RecoveryStrategy.java:219)
>        at 
> org.apache.solr.cloud.RecoveryStrategy.doRecovery(RecoveryStrategy.java:471)
>        at 
> org.apache.solr.cloud.RecoveryStrategy.run(RecoveryStrategy.java:284)
>        at 
> com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)
>        at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>        at 
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
>        at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>        at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>        at java.lang.Thread.run(Thread.java:748)
> I tried to extend the tlog retention time (especially with the 
> commitReserveDuration option), but it does not work.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to