Thomas Mueller created OAK-1602: ----------------------------------- Summary: 512 byte shard key limit in MongoMK Key: OAK-1602 URL: https://issues.apache.org/jira/browse/OAK-1602 Project: Jackrabbit Oak Issue Type: Bug Components: mongomk Reporter: Thomas Mueller Assignee: Thomas Mueller Fix For: 0.20
OAK-333 solves the 1000 byte path limit in MongoMK, however there is an even lower limit for shard keys: 512 bytes, according to the MongoDB documentation http://docs.mongodb.org/manual/reference/limits/#shard-key-limitations It looks like the only change we need to do is change the default settings to the lower values. I don't think this will affect most applications, as the longest paths are still lower than that. While we do that, we should also improve the documentation for the DocumentNodeStore (explicitly document the limits). -- This message was sent by Atlassian JIRA (v6.2#6252)