You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Gus Heck (Jira)" <ji...@apache.org> on 2026/02/05 22:08:00 UTC
[jira] [Resolved] (SOLR-18044) Add universal request attributes in a servlet filter
[ https://issues.apache.org/jira/browse/SOLR-18044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gus Heck resolved SOLR-18044.
-----------------------------
Resolution: Implemented
> Add universal request attributes in a servlet filter
> ----------------------------------------------------
>
> Key: SOLR-18044
> URL: https://issues.apache.org/jira/browse/SOLR-18044
> Project: Solr
> Issue Type: Sub-task
> Reporter: Gus Heck
> Assignee: Gus Heck
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 5h 20m
> Remaining Estimate: 0h
>
> So far I've identified 3 attributes that are unconditionally set at various points in SolrDispatchFilter and the constructor for HttpSolrCall. I believe we can simplify that constructor and create a single place for setting up attributes that are "always available". These attributes are:
> # The tracer (key: REQ_ATTR_TRACING_TRACER )
> # the RTimerTree (key: REQUEST_TIMER_SERVLET_ATTRIBUTE)
> # the CoreContainer (key: org.apache.solr.CoreContainer)
> Other attributes that are set conditionally such as `req.setAttribute("org.eclipse.jetty.multipartConfig", multipartConfigElement);` probably can't move here so it's not possible to corral a full view of what's in our request attributes, but this should provide a clear place to add/identify attributes applicable to all requests.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org