You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jason Huynh (JIRA)" <ji...@apache.org> on 2016/02/01 19:50:39 UTC

[jira] [Created] (GEODE-890) CompiledLike member variables are not thread safe

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)