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

Thomas Mueller commented on OAK-934:
------------------------------------

For 1.0, we could try to load at most 10000 entries in memory, and if there are 
more, return -1. That way, we can avoid running out of memory, and will 
probably not break any application (because it is unlikely that there are more 
than 10000 nodes, so even applications that don't check for -1 will not break).

> NodeIterator.getSize() can return Long.MAX_VALUE for the MongoMK
> ----------------------------------------------------------------
>
>                 Key: OAK-934
>                 URL: https://issues.apache.org/jira/browse/OAK-934
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, jcr, mongomk
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>             Fix For: 1.0
>
>
> When using the MongoMK, the method NodeIterator.getSize() returns 
> Long.MAX_VALUE if there are many child nodes (more than 
> MongoMK.MANY_CHILDREN_THRESHOLD).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to