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

Thomas Mueller commented on OAK-2738:
-------------------------------------

http://svn.apache.org/r1672357 (trunk)

> Possible StackOverflowException with many "or" conditions
> ---------------------------------------------------------
>
>                 Key: OAK-2738
>                 URL: https://issues.apache.org/jira/browse/OAK-2738
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: query
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>             Fix For: 1.0.13, 1.2.1
>
>
> For XPath queries with many "or" conditions of the form "@x = 1 or @x = 2 or 
> @x = 3", the converter could throw a StackOverflowException (during the 
> optimization phase).
> Such conditions are converted to "x in (1, 2, 3)", however this conversion is 
> recursive and relatively slow. We need to make sure at least 10'000 
> conditions can be processed efficiently.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to