You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Marko A. Rodriguez (JIRA)" <ji...@apache.org> on 2017/02/16 19:42:41 UTC

[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&focusedCommentId=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)