gerlowskija commented on PR #1126:
URL: https://github.com/apache/solr/pull/1126#issuecomment-1438622911

   > I'm only seeing this error when running in Windows
   
   Huh, that's a weird wrinkle.  There's nothing OS-specific (that I'm aware 
of) in any of the dependency-injection stuff.  And, fwiw, I took another stab 
at reproducing on MacOS this morning and couldn't see any of the logs either.
   
   If I had to guess, I'd say that this is probably related to how Solr uses 
separate Jersey applications for "container" and "per-core" APIs.  There are 
some situations where Solr isn't sure what "type" an incoming request is, so it 
tries sending the request to one Jersey app, and only tries the second if the 
first errors out.  That'd help explain how we see clear errors in the logs 
despite the request ultimately succeeding: one Jersey app fails with the 
observed errors before the second Jersey app succeeds.
   
   But I'm stumped why this behavior would be OS dependent, or even why it'd 
fail with an injection error.  In the scenario above the first Jersey app 
typically fails with a NotFoundException that is handled specially so that it 
doesn't pollute the logs.
   
   ----
   
   In terms of moving forward here, if the requests failed on Windows it'd be a 
very different matter.  But I think the extra noise in the logs is probably 
tolerable for now given that v2 is an experimental feature.  Absolutely 
something that needs fixed, but it feels like a framework problem and not 
something inherent to this PR.
   
   I'll plan on merging this to 'main' and letting it bake a bit before 
backporting.


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