[ 
https://issues.apache.org/jira/browse/TINKERPOP-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15580778#comment-15580778
 ] 

Robert Dale edited comment on TINKERPOP-1511 at 10/17/16 12:35 AM:
-------------------------------------------------------------------

* sleeping less than 1ms inevitably ends in failure
* properties() is not a contributing factor
* failure is independent of transaction rate 
* -once ~200k vertices are added, it does not appear to ever fail, regardless 
of sleep-
* once the server has handled ~200k addV() requests, it does not appear to fail 
ever again, regardless of sleep
* when there is failure, or no resultant vertex, the server logs:
{noformat}
[DEBUG] Slf4JLogger - [id: 0x1fef181a, L:/127.0.0.1:8182 - R:/127.0.0.1:48890] 
WRITE: ResponseMessage{requestId=b5240f24-c142-4140-8686-259acf58a336, 
status=ResponseStatus{code=NO_CONTENT, message='', attributes={}}, 
result=ResponseResult{data=null, meta={}}}
{noformat}


was (Author: rdale):
* sleeping less than 1ms inevitably ends in failure
* properties() is not a contributing factor
* failure is independent of transaction rate 
* once ~200k vertices are added, it does not appear to ever fail, regardless of 
sleep
* when there is failure, or no resultant vertex, the server logs:
{noformat}
[DEBUG] Slf4JLogger - [id: 0x1fef181a, L:/127.0.0.1:8182 - R:/127.0.0.1:48890] 
WRITE: ResponseMessage{requestId=b5240f24-c142-4140-8686-259acf58a336, 
status=ResponseStatus{code=NO_CONTENT, message='', attributes={}}, 
result=ResponseResult{data=null, meta={}}}
{noformat}

> Remote client addV, V()
> -----------------------
>
>                 Key: TINKERPOP-1511
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1511
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.2.2
>            Reporter: Robert Dale
>            Priority: Critical
>              Labels: console, groovy, neo4j, python
>
> I could reproduce on remote neo4j, but not embedded, nor remote TinkerGraph.  
> server:
> ./bin/gremlin-server.sh conf/gremlin-server-neo4j.yaml
> console:
> ./bin/gremlin.sh
> gremlin> graph = EmptyGraph.instance()
> ==>emptygraph[empty]
> gremlin> g = graph.traversal().withRemote('conf/remote-graph.properties')
> ==>graphtraversalsource[emptygraph[empty], standard]
> gremlin> for (n in 0..10000)
> { x = g.addV('block').property('hash', 
> '1234').property('txt','text').id().next(); g.V(x).id().next(); }
> java.util.NoSuchElementException
> Type ':help' or ':h' for help.
> Display stack trace? [yN]y
> java.util.NoSuchElementException
> at org.apache.tinkerpop.gremlin.driver.ResultSet$1.next(ResultSet.java:158)
> at org.apache.tinkerpop.gremlin.driver.ResultSet$1.next(ResultSet.java:140)
> at 
> org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteTraversal$TraverserIterator.next(DriverRemoteTraversal.java:118)
> at 
> org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteTraversal$TraverserIterator.next(DriverRemoteTraversal.java:103)
> at 
> org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteTraversal.nextTraverser(DriverRemoteTraversal.java:95)
> at 
> org.apache.tinkerpop.gremlin.process.remote.traversal.step.map.RemoteStep.processNextStart(RemoteStep.java:65)
> at 
> org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.next(AbstractStep.java:128)
> at 
> org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.next(AbstractStep.java:38)
> at 
> org.apache.tinkerpop.gremlin.process.traversal.util.DefaultTraversal.next(DefaultTraversal.java:186)
> at java_util_Iterator$next.call(Unknown Source)
> at groovysh_evaluate.run(groovysh_evaluate:3)
> at 
> org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:232)
> at org.codehaus.groovy.tools.shell.Interpreter.evaluate(Interpreter.groovy:70)
> at org.codehaus.groovy.tools.shell.Groovysh.execute(Groovysh.groovy:190)
> at 
> org.apache.tinkerpop.gremlin.console.GremlinGroovysh.super$3$execute(GremlinGroovysh.groovy)
> at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
> at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
> at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1215)
> at 
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:132)
> at 
> org.apache.tinkerpop.gremlin.console.GremlinGroovysh.execute(GremlinGroovysh.groovy:72)
> at org.codehaus.groovy.tools.shell.Shell.leftShift(Shell.groovy:122)
> at org.codehaus.groovy.tools.shell.ShellRunner.work(ShellRunner.groovy:95)
> at 
> org.codehaus.groovy.tools.shell.InteractiveShellRunner.super$2$work(InteractiveShellRunner.groovy)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
> at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
> at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1215)
> at 
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:132)
> at 
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:152)
> at 
> org.codehaus.groovy.tools.shell.InteractiveShellRunner.work(InteractiveShellRunner.groovy:124)
> at org.codehaus.groovy.tools.shell.ShellRunner.run(ShellRunner.groovy:59)
> at 
> org.codehaus.groovy.tools.shell.InteractiveShellRunner.super$2$run(InteractiveShellRunner.groovy)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
> at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
> at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1215)
> at 
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:132)
> at 
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:152)
> at 
> org.codehaus.groovy.tools.shell.InteractiveShellRunner.run(InteractiveShellRunner.groovy:83)
> at 
> org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:232)
> at org.apache.tinkerpop.gremlin.console.Console.<init>(Console.groovy:152)
> at 
> org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:232)
> at org.apache.tinkerpop.gremlin.console.Console.main(Console.groovy:449)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to