geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Huynh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GEODE-890) CompiledLike member variables are not thread safe
Date Mon, 01 Feb 2016 18:50:39 GMT
Jason Huynh created GEODE-890:
---------------------------------

             Summary: CompiledLike member variables are not thread safe
                 Key: GEODE-890
                 URL: https://issues.apache.org/jira/browse/GEODE-890
             Project: Geode
          Issue Type: Bug
            Reporter: Jason Huynh


If a compiled like query is used concurrently, for example a bind parameter query from a client),
the member variables are not thread safe and can possibly lead to a stack over flow.  

This is because the CompiledLike is unique in that it creates new junctions when executing
and if one of the member variables is set to true at a certain point, can lead to an infinite
recursion.

The fix is to move the member variables into the execution context.



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

Mime
View raw message