Potential bug in evaluationTimeout when using auth?
When i use g.with("evaluationTimeout", X).call(<some call step).next() without authentication it works. When I do it with authentication enabled it does not work.
The offending code appears to be this piece of TraversalOpProcessor.java
Which returns properly without authentication enabled as args contains "evaluationTimeout", but when authentication is enabled, that key does not exist, and instead it is embedded deeper down (see attached pic, it's in configuration of the OptionsStrategy deep down)
Has anyone seen this issue before?
5 Replies
Pic of no auth exact same query for reference
Seems like call step piece of it is irrelevant. With authentication enabled, even g.with("evaluationTimeout", X).V().next() doesnt properly set the evaluationTimeout
Solution
The problem appears to be in this block of code
The incoming requestMessage has "evaluationTimeout" as a top level argument
which is not copied
though you could say that the check later on should drill into the optiosn to look for it