You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Divij Vaidya (JIRA)" <ji...@apache.org> on 2019/06/18 04:59:00 UTC
[jira] [Created] (TINKERPOP-2246) Consolidate the error propagation
to the client
Divij Vaidya created TINKERPOP-2246:
---------------------------------------
Summary: Consolidate the error propagation to the client
Key: TINKERPOP-2246
URL: https://issues.apache.org/jira/browse/TINKERPOP-2246
Project: TinkerPop
Issue Type: Improvement
Components: server
Reporter: Divij Vaidya
Some places in the code base use the ResponseHandlerContext which ensures that only a single response is sent for a particular request [1] but other places do not [2]. This task is to use the ResponseContext consistently across the code base to prevent cases where client gets two messages for the same request (this can break the client when it has removed the RequestQueue thinking that the query is complete and yet a message comes for that request queue).
[1] [https://github.com/apache/tinkerpop/blob/d1a3fa147d1f009ae57274827c9b59426dfc6e58/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/op/AbstractOpProcessor.java#L100]
[[2] https://github.com/apache/tinkerpop/blob/master/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/op/traversal/TraversalOpProcessor.java#L315|https://github.com/apache/tinkerpop/blob/master/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/op/traversal/TraversalOpProcessor.java#L315]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)