[ 
https://issues.apache.org/jira/browse/BEAM-10002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17149014#comment-17149014
 ] 

Corvin Deboeser commented on BEAM-10002:
----------------------------------------

Hi [~yichi] took me a while to get to this.

Wanted to ask your opinion if this solution makes sense: If the cursor timed 
out, we get the last claimed id from the range tracker and create a new cursor 
from last claim to stop. Would appreciate your feedback before starting to 
implement this.

> Mongo cursor timeout leads to CursorNotFound error
> --------------------------------------------------
>
>                 Key: BEAM-10002
>                 URL: https://issues.apache.org/jira/browse/BEAM-10002
>             Project: Beam
>          Issue Type: Bug
>          Components: io-py-mongodb
>    Affects Versions: 2.20.0
>            Reporter: Corvin Deboeser
>            Assignee: Corvin Deboeser
>            Priority: P2
>
> If some work items take a lot of processing time and the cursor of a bundle 
> is not queried for too long, then mongodb will timeout the cursor which 
> results in
> {code:java}
> pymongo.errors.CursorNotFound: cursor id ... not found
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to