[jira] [Commented] (TINKERPOP-1615) Doing a step many times can lead to unforeseen problems with the RepeatUnrollStrategy
[ https://issues.apache.org/jira/browse/TINKERPOP-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16051919#comment-16051919 ] stephen mallette commented on TINKERPOP-1615: - [~jeromatron] any news on this one? > Doing a step many times can lead to unforeseen problems with the > RepeatUnrollStrategy > - > > Key: TINKERPOP-1615 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1615 > Project: TinkerPop > Issue Type: Bug > Components: process >Affects Versions: 3.2.3 >Reporter: Jeremy Hanna >Assignee: Daniel Kuppitz > > The following traversal comes back with an error that appears to be related > to the {{RepeatUnrollStrategy}}: > {code} > g.V().has('foo', 'id', > '4b200757-96e2-463a-a7a0-7b9b75d4dbd3').repeat(__.in('subfolder_of')).times(100).hasNext() > {code} > appears to either error out or take forever. However if I do something like: > {code} > g.withoutStrategies(RepeatUnrollStrategy.class).V().has('foo', 'id', > '4b200757-96e2-463a-a7a0-7b9b75d4dbd3').repeat(__.in('subfolder_of')).times(100).hasNext() > {code} > it works subsecond. > So something funky with {{RepeatUnrollStrategy}} is going on. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (TINKERPOP-1615) Doing a step many times can lead to unforeseen problems with the RepeatUnrollStrategy
[ https://issues.apache.org/jira/browse/TINKERPOP-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15892451#comment-15892451 ] Jeremy Hanna commented on TINKERPOP-1615: - I don't recall if I did but I'll give it a try. > Doing a step many times can lead to unforeseen problems with the > RepeatUnrollStrategy > - > > Key: TINKERPOP-1615 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1615 > Project: TinkerPop > Issue Type: Bug > Components: process >Affects Versions: 3.2.3 >Reporter: Jeremy Hanna >Assignee: Daniel Kuppitz > > The following traversal comes back with an error that appears to be related > to the {{RepeatUnrollStrategy}}: > {code} > g.V().has('foo', 'id', > '4b200757-96e2-463a-a7a0-7b9b75d4dbd3').repeat(__.in('subfolder_of')).times(100).hasNext() > {code} > appears to either error out or take forever. However if I do something like: > {code} > g.withoutStrategies(RepeatUnrollStrategy.class).V().has('foo', 'id', > '4b200757-96e2-463a-a7a0-7b9b75d4dbd3').repeat(__.in('subfolder_of')).times(100).hasNext() > {code} > it works subsecond. > So something funky with {{RepeatUnrollStrategy}} is going on. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (TINKERPOP-1615) Doing a step many times can lead to unforeseen problems with the RepeatUnrollStrategy
[ https://issues.apache.org/jira/browse/TINKERPOP-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15871893#comment-15871893 ] Daniel Kuppitz commented on TINKERPOP-1615: --- Hmm, even {{times(1000)}} works smoothly for me. [~jeromatron], I have a suspicion that your test might have been like this. 1. You execute {{g.V().has('foo', 'id', '4b200757-96e2-463a-a7a0-7b9b75d4dbd3').repeat(__.in('subfolder_of')).times(100).hasNext()}}, the query appears to take forever, but DSE Graph ( ? ) starts to cache all (relevant) vertices in the background. 2. You try {{g.withoutStrategies(RepeatUnrollStrategy.class).V().has('foo', 'id', '4b200757-96e2-463a-a7a0-7b9b75d4dbd3').repeat(__.in('subfolder_of')).times(100).hasNext()}} and DSE Graph makes use of the cached vertices and returns the result quickly. After that, did you try to execute it again with the strategy included? > Doing a step many times can lead to unforeseen problems with the > RepeatUnrollStrategy > - > > Key: TINKERPOP-1615 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1615 > Project: TinkerPop > Issue Type: Bug > Components: process >Affects Versions: 3.2.3 >Reporter: Jeremy Hanna >Assignee: Daniel Kuppitz > > The following traversal comes back with an error that appears to be related > to the {{RepeatUnrollStrategy}}: > {code} > g.V().has('foo', 'id', > '4b200757-96e2-463a-a7a0-7b9b75d4dbd3').repeat(__.in('subfolder_of')).times(100).hasNext() > {code} > appears to either error out or take forever. However if I do something like: > {code} > g.withoutStrategies(RepeatUnrollStrategy.class).V().has('foo', 'id', > '4b200757-96e2-463a-a7a0-7b9b75d4dbd3').repeat(__.in('subfolder_of')).times(100).hasNext() > {code} > it works subsecond. > So something funky with {{RepeatUnrollStrategy}} is going on. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (TINKERPOP-1615) Doing a step many times can lead to unforeseen problems with the RepeatUnrollStrategy
[ https://issues.apache.org/jira/browse/TINKERPOP-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15870582#comment-15870582 ] Marko A. Rodriguez commented on TINKERPOP-1615: --- [~dkuppitz] Could you try and reproduce this in {{RepeatUnrollStrategyTest}}? If you can and can't fix it, send me the branch/ and I can finish it off. > Doing a step many times can lead to unforeseen problems with the > RepeatUnrollStrategy > - > > Key: TINKERPOP-1615 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1615 > Project: TinkerPop > Issue Type: Bug > Components: process >Affects Versions: 3.2.3 >Reporter: Jeremy Hanna > > The following traversal comes back with an error that appears to be related > to the {{RepeatUnrollStrategy}}: > {code} > g.V().has('foo', 'id', > '4b200757-96e2-463a-a7a0-7b9b75d4dbd3').repeat(__.in('subfolder_of')).times(100).hasNext() > {code} > appears to either error out or take forever. However if I do something like: > {code} > g.withoutStrategies(RepeatUnrollStrategy.class).V().has('foo', 'id', > '4b200757-96e2-463a-a7a0-7b9b75d4dbd3').repeat(__.in('subfolder_of')).times(100).hasNext() > {code} > it works subsecond. > So something funky with {{RepeatUnrollStrategy}} is going on. -- This message was sent by Atlassian JIRA (v6.3.15#6346)