jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Meschberger <fmesc...@adobe.com>
Subject Re: Mongo property limit
Date Mon, 24 Sep 2012 10:28:18 GMT
Hi,

That's bad...

Artificial limits like these bite you sooner or later...

Remember the 256 characters (or bytes?) length limit of Windows paths. PITA

So, I would try to find a solution

Regards
Felix

Am 24.09.2012 um 12:03 schrieb Mete Atamel:

> Hi,
> 
> I couldn't find official documentation on this but my tests revealed that
> there's a limit to how long a property value can be in MongoDB and this
> affects MongoMK. 
> 
> In MongoMK, we have a "path" property which stores the full path of a
> node. Here's an example:
> 
> {
>    "_id": {
>        "$oid": "506027cc09d03cd0a04b1498"
>    },
>    "path": "/test0/test1/test2/test3/test4/test5/test6/test7/test8",
>    "revId": 10,
>    "baseRevId": 9,
>    "kids": [
>        "test9"
>    ]
> }
> 
> 
> With the property length limit in Mongo, paths in MongoMK are limited to
> 1000 characters or so. This means that there's a limit to path
> length/depth in MongoMK, see OAK-333.
> 
> How should we handle this? Shall we document this as a limitation of
> MongoMK? Or shall we try to do something smarter like splitting the full
> path into multiple smaller path properties?
> 
> Thanks,
> Mete
> 


Mime
View raw message