tinkerpop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Divij Vaidya (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TINKERPOP-2245) [Refactor] Consolidate the executor for bytecode & string based client
Date Tue, 18 Jun 2019 04:47:00 GMT
Divij Vaidya created TINKERPOP-2245:
---------------------------------------

             Summary: [Refactor] Consolidate the executor for bytecode & string based
client
                 Key: TINKERPOP-2245
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2245
             Project: TinkerPop
          Issue Type: Improvement
          Components: server
            Reporter: Divij Vaidya


We have two code paths in the server which perform (more or less) the same functions. One
is the executor for string based queries and other is the executor for bytecode. This code
can be refactored together so that the logic to handle timeout, handle exception during execution,
handle exception before execution and others can consolidated. 

[https://github.com/apache/tinkerpop/blob/master/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/engine/GremlinExecutor.java#L246]

and

[https://github.com/apache/tinkerpop/blob/master/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/op/traversal/TraversalOpProcessor.java#L333]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message