[ 
https://issues.apache.org/jira/browse/SOLR-17151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17897020#comment-17897020
 ] 

ASF subversion and git services commented on SOLR-17151:
--------------------------------------------------------

Commit 125fc3fb70c6873e7f1b93c160b9f9522e64213f in solr's branch 
refs/heads/main from Gus Heck
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=125fc3fb70c ]

SOLR-17151 Check limits between calls to components in SearchHandler (#2801)



> Review current usage of QueryLimits to ensure complete coverage
> ---------------------------------------------------------------
>
>                 Key: SOLR-17151
>                 URL: https://issues.apache.org/jira/browse/SOLR-17151
>             Project: Solr
>          Issue Type: Sub-task
>          Components: Query Limits
>            Reporter: Andrzej Bialecki
>            Assignee: Gus Heck
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 3h
>  Remaining Estimate: 0h
>
> Resource usage by a query is not limited to the actual search within 
> {{QueryComponent}}. Other components invoked by {{SearchHandler}} may 
> significantly contribute to this usage, either before or after the 
> {{QueryComponent}}.
> Those components that already use {{QueryTimeout}} either directly or 
> indirectly will properly observe the limits and terminate if needed. However, 
> other components may be expensive or misbehaving but fail to observe the 
> limits imposed on the end-to-end query processing.
> One such obvious place where we could add this check is where the 
> {{SearchHandler}} loops over {{SearchComponent}-s - it should call explicitly 
> {{QueryLimits.shouldExit()}} to ensure that even if previously executed 
> component ignored the limits they will be still enforced at the 
> {{SearchHandler}} level. There may be other places like this, too.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to