iamsanjay commented on PR #2612:
URL: https://github.com/apache/solr/pull/2612#issuecomment-2364134679

   Actually I am still not convinced that issue is related to 
`maxConnectionPerDestination` setting. Because today When I ran it again and 
again, I found the issue with higher values as well such as 8, 16, 32.  As few 
runs cannot tell which one is better, We can set up a dedicated benchmark for 
it to run it for different values of `maxConnectionPerDestination` and 
`maxConcurrentStream` (though this one is server level setting which I am not 
yet sure how we will configure in benchmark.)
   
   There is a possibility that Jetty is cancelling stream because one of the 
shard went into recovery! 
   
   ```
   Server exception => org.apache.solr.common.SolrException: ClusterState says 
we are the leader 
(http://127.0.0.1:54734/solr/testCollection_shard4_replica_n4), but locally we 
don't think so. Request came from 
http://127.0.0.1:54736/solr/testCollection_shard2_replica_n16/
           at 
org.apache.solr.update.processor.DistributedZkUpdateProcessor.doDefensiveChecks(DistributedZkUpdateProcessor.java:1144)
   org.apache.solr.common.SolrException: ClusterState says we are the leader 
(http://127.0.0.1:54734/solr/testCollection_shard4_replica_n4), but locally we 
don't think so. Request came from 
http://127.0.0.1:54736/solr/testCollection_shard2_replica_n16/
   
   ```
   
   ```
   request: http://127.0.0.1:54734/solr
   Remote error message: ClusterState says we are the leader 
(http://127.0.0.1:54734/solr/testCollection_shard4_replica_n4), but locally we 
don't think so. Request came from 
http://127.0.0.1:54736/solr/testCollection_shard2_replica_n16/
           at 
org.apache.solr.client.solrj.impl.ConcurrentUpdateHttp2SolrClient$Runner.sendUpdateStream(ConcurrentUpdateHttp2SolrClient.java:283)
 ~[solr-solrj-10.0.0
   -SNAPSHOT.jar:10.0.0-SNAPSHOT 549b46da0c7030249c81f827b801bb24bd6b57cd 
[snapshot build, details omitted]]
           at 
org.apache.solr.client.solrj.impl.ConcurrentUpdateHttp2SolrClient$Runner.run(ConcurrentUpdateHttp2SolrClient.java:184)
 ~[solr-solrj-10.0.0-SNAPSHOT.jar:10.0.0-SNAPSHOT 
549b46da0c7030249c81f827b801bb24bd6b57cd [snapshot build, details omitted]]
           at 
com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:212)
 ~[metrics-core-4.2.26.jar:4.2.26]
           at 
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$1(ExecutorUtil.java:449)
 ~[solr-solrj-10.0.0-SNAPSHOT.jar:10.0.0-SNA
   PSHOT 549b46da0c7030249c81f827b801bb24bd6b57cd [snapshot build, details 
omitted]]
           at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
 [?:?]
           at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
 [?:?]
           at java.base/java.lang.Thread.run(Thread.java:829) [?:?]
   
   ```
   
   ```
   2024-09-20 21:58:32.200 ERROR 
(updateExecutor-38-thread-11-processing-testCollection_shard3_replica_n2 
null-30262 core_node5 null 127.0.0.1:54735_solr testCollection shard3) 
[c:testCollection s:shard3 r:core_node5 x:testCollection_shard3_replica_n2] 
o.a.s.u.ErrorReportingConcurrentUpdateSolrClient
             Error when calling SolrCmdDistributor$Req: cmd=add{,id=(null)}; 
node=ForwardNode: http://127.0.0.1:54734/solr/testCollection_shard4_replica_n4/ 
to http://127.0.0.1:54734/solr/testCollection_shard4_replica_n4/ => 
org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException: Error 
from server at http://127.0.0.1:54734/solr: null
   ```
   
   This one looks different!
   ```
    Client exception => org.apache.solr.common.SolrException: can not use 
FieldCache on a field w/o docValues unless it is indexed uninvertible=true and 
the type supports Uninversion: _version_
           at 
org.apache.solr.schema.SchemaField.checkFieldCacheSource(SchemaField.java:295)
   org.apache.solr.common.SolrException: can not use FieldCache on a field w/o 
docValues unless it is indexed uninvertible=true and the type supports 
Uninversion: _version_
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to