[
https://issues.apache.org/jira/browse/OAK-934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13731964#comment-13731964
]
Thomas Mueller commented on OAK-934:
------------------------------------
As for now, let's assume somebody who calls NodeIterator.getSize() knowns that
this method is potentially slow if there are many child nodes. Later on, we
might change the behaviour and return -1 if there are many nodes; however this
could lead to compatibility problems because people might have not known or
forgotten about the -1 case.
> 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
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira