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

1000 byte path limit in MongoMK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.5
    • 0.19
    • mongomk
    • None

    Description

      In an infinite loop try to add nodes one under another to have N0/N1/N2...NN. At some point, the current parent node will not be found and the current commit will fail. I think this happens when the path length exceeds 1000 characters. Is this enough for a path? I was able to create this way only 222 levels in the tree (and my node names were really short N1, N2 ...)

      There's an automated tests for this: NodeExistsCommandMongoTest.testTreeDepth

      Attachments

        1. OAK-333.patch
          29 kB
          Mete Atamel
        2. NodeNameLimitsTest.java
          2 kB
          Julian Reschke

        Issue Links

          Activity

            People

              thomasm Thomas Mueller
              meteatamel Mete Atamel
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: