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

MicroKernel API: returning the :hash property should be optional

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.3
    • mk
    • None

    Description

      the :hash property represents the content hash of node tree rooted at the property's parent node.

      the :hash property is by default not included in the json tree returned by the getNodes(..) method but can be enabled by explicitly specifying it in the filter parameter.

      returning the :hash property should be optional since it might be a too heavy requirement on some MicroKernel implementations. an implementation might e.g. choose to include the :hash property only on certain nodes or it might choose to not support it at all.

      if however a :hash property is returned it has to obey the content hash contract, i.e. identical node trees must have identical :hash values and non-identical node trees must have different :hash values.

      Attachments

        Issue Links

          Activity

            People

              stefan@jira Stefan Guggisberg
              stefan@jira Stefan Guggisberg
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: