Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1602

512 byte shard key limit in MongoMK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.20
    • mongomk
    • None

    Description

      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).

      Attachments

        Issue Links

          Activity

            People

              thomasm Thomas Mueller
              thomasm Thomas Mueller
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: