[
https://issues.apache.org/jira/browse/TINKERPOP-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15157076#comment-15157076
]
Bob Briody commented on TINKERPOP-956:
--------------------------------------
This failure recently occurred when the maxContentLength was exceeded. The
following exception was raised:
{quote}Max frame length of 65536 has been exceeded{quote}
and the client was no longer usable. All following requests resulted in:
{quote}java.nio.channels.ClosedChannelException{quote}
Example graph:
{code}
// Clear the Graph
g.V().drop().iterate();
int size = 1000;
List ids = new ArrayList();
Vertex v = graph.addVertex();
v.property("sin", 0.0);
v.property("cos", 1.0);
v.property("ii", 0);
ids.add(v.id());
Random rand = new Random();
for (int ii = 1; ii < size; ii++) {
v = graph.addVertex();
v.property("ii", ii);
v.property("sin", Math.sin(ii/5.0));
v.property("cos", Math.cos(ii/5.0));
Vertex u = g.V(ids.get(rand.nextInt(ids.size()))).next();
v.addEdge("linked", u);
ids.add(u.id());
ids.add(v.id());
}
[g.V().limit(1000000).count().next(), g.E().limit(1000000).count().next()]
{code}
..and example query:
{code}
g.V().both().both().both().bothE().subgraph('sg').cap('sg')
{code}
> Connection errors tend to force a complete close of the channel
> ---------------------------------------------------------------
>
> Key: TINKERPOP-956
> URL: https://issues.apache.org/jira/browse/TINKERPOP-956
> Project: TinkerPop
> Issue Type: Improvement
> Components: driver, server
> Affects Versions: 3.0.2-incubating
> Reporter: stephen mallette
> Assignee: stephen mallette
> Priority: Minor
>
> Would be nice if the channel could stay open if the error is recoverable.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)