[
https://issues.apache.org/jira/browse/TINKERPOP-3144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17937513#comment-17937513
]
ASF GitHub Bot commented on TINKERPOP-3144:
-------------------------------------------
xiazcy commented on PR #3075:
URL: https://github.com/apache/tinkerpop/pull/3075#issuecomment-2744620235
Thanks for the contribution! VOTE +1
> Traversal not closed after interruption
> ---------------------------------------
>
> Key: TINKERPOP-3144
> URL: https://issues.apache.org/jira/browse/TINKERPOP-3144
> Project: TinkerPop
> Issue Type: Bug
> Affects Versions: 3.7.3
> Reporter: Petr Langr
> Priority: Major
>
> I noticed that when traversal takes a long time and eventually its execution
> gets interrupted, the traversal does not get closed.
> I work on custom graph provider, which needs to release its resources when
> traversal is finished. However, when the execution takes too much time, the
> executor thread gets interrupted and traversal hangs open.
> Here is example log:
> {code:java}
> 2025-03-18 13:18:35.533 WARN
> org.apache.tinkerpop.gremlin.server.op.traversal.TraversalOpProcessor - A
> timeout occurred during traversal evaluation of [RequestMessage{,
> requestId=c4de3b57-c90c-4ff7-ab4d-194684f8eff8, op='bytecode',
> processor='traversal', args={gremlin=[[withStrategies(OptionsStrategy),
> withStrategies(PartitionStrategy)], [V(), or([[], [has(label,
> eq(EntityGroup)), has(createdTime, lt(1742303760000))]], [[],
> [has(createdTime, lt(1742303760000)), has(lastSeenTime,
> gte(1742300160000))]]), has(_deleted, neq(true)), has(id,
> within([e-10255437896472327583])), union([[], [outE(), where([[], [inV(),
> has(label, eq(KubernetesPod)), has(createdTime, lt(1742303760000)),
> has(lastSeenTime, gte(1742300160000)), has(_deleted, neq(true)), has(label,
> eq(KubernetesPod)), has(label, within([KubernetesPod]))]])]], [[],
> [inE(MemberOf), where([[], [outV(), has(label, eq(KubernetesPod)),
> has(createdTime, lt(1742303760000)), has(lastSeenTime, gte(1742300160000)),
> has(_deleted, neq(true)), has(label, eq(KubernetesPod)), has(label,
> within([KubernetesPod]))]])]]), project(e, out, in), by([[], [valueMap(),
> with(~tinkerpop.valueMap.tokens, 2)]]), by([[], [outV(), valueMap(),
> with(~tinkerpop.valueMap.tokens)]]), by([[], [inV(), valueMap(),
> with(~tinkerpop.valueMap.tokens)]])]], aliases={g=g}}}] - consider increasing
> the limit given to evaluationTimeout {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)