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)