Description
In the following traversal, I can see (via the println) that the store executes, but the select inside the until does not seem to see it. The result is an infinite loop.
g = TinkerFactory.createModern().traversal(); g.V().until( or(values('name').is('marko'), sideEffect{it -> System.err.println('until:' + it.get()); System.err.println(it.getClass().getSimpleName()); System.err.println(it.getSideEffects()); } .select('x'))). repeat(both()). store('x'). sideEffect{it -> System.err.println('done:' + it.get()); System.err.println(it.getSideEffects()); System.err.println(it.getSideEffects().get('x')); }. count()
Here are the first few lines of output:
done:v[1] sideEffects[size:1] Optional[{v[1]=1}] until:v[2] B_O_S_SE_SL_Traverser sideEffects[size:0] done:v[1] sideEffects[size:1] Optional[{v[1]=2}] until:v[3] B_O_S_SE_SL_Traverser sideEffects[size:0] done:v[1] sideEffects[size:1] Optional[{v[1]=3}] ...