[
https://issues.apache.org/jira/browse/OLINGO-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17612557#comment-17612557
]
Denis Novoselov commented on OLINGO-1558:
-----------------------------------------
See https://issues.apache.org/jira/browse/OLINGO-1413
> Race condition in ODataHandlerImpl handles the wrong request
> -------------------------------------------------------------
>
> Key: OLINGO-1558
> URL: https://issues.apache.org/jira/browse/OLINGO-1558
> Project: Olingo
> Issue Type: Bug
> Components: odata4-server
> Affects Versions: (Java) V4 4.8.0
> Reporter: Paul Austin
> Assignee: mibo
> Priority: Critical
>
> This critical bug affects the following class.
> org.apache.olingo.server.core.ODataHandlerImpl
> It stores the uriInfo in a field (so that the error reporting finds it).
> What happens under slight load is that there is a race condition in the
> processInternal method that the URI is parsed and set. Then another thread
> would change that before the ODataDispatcher is called. This results in the
> WRONG request being processed and would return data that wasn't requested.
> Change uriInfo to a local variable and then set it as a field on the
> ODataRequest so that the error handling could get it from the request.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)