gerlowskija commented on PR #2765:
URL: https://github.com/apache/solr/pull/2765#issuecomment-2416735316
   > Is the not-anymore-used req object still used somewhere else?
   
   Yes, actually!  Meant to call this out in a comment here or in the code - 
the "original" LocalSolrQueryRequest is technically still accessible on the 
UpdateCommand seen by individual processors.  So there's still the possibility 
this object could be messed with by multiple threads.
   
   That said - I don't think this is a risk in practice.  I spent a good bit of 
time tracing through all of the `UpdateCommand.getReq()` invocations, and 
they're all "read only" calls to get either the SolrCore or the IndexSchema 
relevant to this request.  (Both of which are commonly used across threads.)
   
   Both from this and from the problem David described above, it's clear that 
the UpdateLog replay threading could use a larger rethink, but I'm reluctant to 
dive into that here.


-- 
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