[
https://issues.apache.org/jira/browse/SOLR-15983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17495531#comment-17495531
]
ASF subversion and git services commented on SOLR-15983:
--------------------------------------------------------
Commit 7d61190a0d917b9319c30d76328d62d1435dbe58 in solr's branch
refs/heads/branch_9x from Christine Poerschke
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=7d61190 ]
SOLR-15983: parallel log replay now uses separate UpdateRequestProcessor
objects (#601)
* parallel log replay now uses separate UpdateRequestProcessor objects
* executor local variable in UpdateLog.doReplay can be null
* Use a ThreadLocal of the URP to avoid re-creating and avoid excessive
finish() calls and to make it clearer that the URPs are used correctly (have
correct lifecycle and aren't shared).
* remove unused procThreadLocal member in favour of local variable with same
name
* just one for-loop on procPool to finish-and-close
* add solr/CHANGES.txt entry
Co-authored-by: David Smiley <[email protected]>
(cherry picked from commit 7c0767064eeaddda5ecf8e5b0ff0e07524dfafce)
> ClassCastException in UpdateLog$LogReplayer.doReplay
> ----------------------------------------------------
>
> Key: SOLR-15983
> URL: https://issues.apache.org/jira/browse/SOLR-15983
> Project: Solr
> Issue Type: Bug
> Reporter: Christine Poerschke
> Assignee: Christine Poerschke
> Priority: Major
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> stacktrace:
> {code}
> ... ERROR ... o.a.s.u.UpdateLog java.lang.ClassCastException:
> java.util.ArrayList cannot be cast to java.lang.String
> at org.apache.solr.common.util.NamedList.getName(NamedList.java:175)
> at org.apache.solr.common.util.NamedList.toString(NamedList.java:397)
> at java.lang.String.valueOf(String.java:2994)
> at java.lang.StringBuilder.append(StringBuilder.java:131)
> at
> org.apache.solr.update.processor.LogUpdateProcessorFactory$LogUpdateProcessor.getLogStringAndClearRspToLog(LogUpdateProcessorFactory.java:212)
> at
> org.apache.solr.update.processor.LogUpdateProcessorFactory$LogUpdateProcessor.finish(LogUpdateProcessorFactory.java:187)
> at
> org.apache.solr.update.UpdateLog$LogReplayer.doReplay(UpdateLog.java:1980)
> at org.apache.solr.update.UpdateLog$LogReplayer.run(UpdateLog.java:1762)
> at
> org.apache.solr.update.UpdateLog.lambda$applyBufferedUpdates$5(UpdateLog.java:1703)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 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:209)
> 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)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]