[
https://issues.apache.org/jira/browse/SOLR-8450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15066870#comment-15066870
]
Shalin Shekhar Mangar commented on SOLR-8450:
---------------------------------------------
But we shouldn't retry such updates in the first place, no? The following is
logged while running SolrExampleStreamingTest.testUpdateField when server
closes the connection:
{code}
2092 INFO (qtp382077844-22) [ x:collection1]
o.a.s.u.p.LogUpdateProcessorFactory [collection1] webapp=/solr path=/update
params={wt=xml&version=2.2}{} 0 29
2313 INFO
(concurrentUpdateScheduler-3-thread-1-processing-http:////127.0.0.1:54589//solr//collection1)
[ ] o.a.h.i.c.SystemDefaultHttpClient I/O exception
(java.net.SocketException) caught when processing request to
{}->http://127.0.0.1:54589: Connection reset
2313 INFO
(concurrentUpdateScheduler-3-thread-1-processing-http:////127.0.0.1:54589//solr//collection1)
[ ] o.a.h.i.c.SystemDefaultHttpClient Retrying request to
{}->http://127.0.0.1:54589
2315 INFO (qtp382077844-21) [ x:collection1]
o.a.s.u.p.LogUpdateProcessorFactory [collection1] webapp=/solr path=/update
params={wt=xml&version=2.2}{} 0 1
2564 INFO
(concurrentUpdateScheduler-3-thread-1-processing-http:////127.0.0.1:54589//solr//collection1)
[ ] o.a.h.i.c.SystemDefaultHttpClient I/O exception
(java.net.SocketException) caught when processing request to
{}->http://127.0.0.1:54589: Connection reset
2564 INFO
(concurrentUpdateScheduler-3-thread-1-processing-http:////127.0.0.1:54589//solr//collection1)
[ ] o.a.h.i.c.SystemDefaultHttpClient Retrying request to
{}->http://127.0.0.1:54589
2566 INFO (qtp382077844-17) [ x:collection1]
o.a.s.u.p.LogUpdateProcessorFactory [collection1] webapp=/solr path=/update
params={wt=xml&version=2.2}{} 0 1
2815 INFO
(concurrentUpdateScheduler-3-thread-1-processing-http:////127.0.0.1:54589//solr//collection1)
[ ] o.a.h.i.c.SystemDefaultHttpClient I/O exception
(java.net.SocketException) caught when processing request to
{}->http://127.0.0.1:54589: Connection reset
2815 INFO
(concurrentUpdateScheduler-3-thread-1-processing-http:////127.0.0.1:54589//solr//collection1)
[ ] o.a.h.i.c.SystemDefaultHttpClient Retrying request to
{}->http://127.0.0.1:54589
2817 INFO (qtp382077844-18) [ x:collection1]
o.a.s.u.p.LogUpdateProcessorFactory [collection1] webapp=/solr path=/update
params={wt=xml&version=2.2}{} 0 0
{code}
> Internal HttpClient used in SolrJ is retries requests by default
> ----------------------------------------------------------------
>
> Key: SOLR-8450
> URL: https://issues.apache.org/jira/browse/SOLR-8450
> Project: Solr
> Issue Type: Bug
> Components: clients - java, SolrJ
> Reporter: Shalin Shekhar Mangar
> Fix For: 5.5, Trunk
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]