jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-1580) DBCursor close missing
Date Thu, 20 Mar 2014 09:37:43 GMT

    [ https://issues.apache.org/jira/browse/OAK-1580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13941554#comment-13941554

Chetan Mehrotra commented on OAK-1580:

As per default setting [cursors are closed on finalize|http://api.mongodb.org/java/current/com/mongodb/MongoOptions.html#cursorFinalizerEnabled]
but yes it would be better to close the cursor

> DBCursor close missing
> ----------------------
>                 Key: OAK-1580
>                 URL: https://issues.apache.org/jira/browse/OAK-1580
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: mongomk
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
> MongoDocumentStore does not close the DBCursor returned by Mongo. The documentation says,
the cursor is automatically closed when exhausted, but this is not always the case. So far
the missing close call didn't seem to have an negative effect, but I think we should add it

This message was sent by Atlassian JIRA

View raw message