jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-142) MicroKernel API: returning the :hash should be optional
Date Fri, 15 Jun 2012 13:45:42 GMT
Stefan Guggisberg created OAK-142:

             Summary: MicroKernel API: returning the :hash should be optional
                 Key: OAK-142
                 URL: https://issues.apache.org/jira/browse/OAK-142
             Project: Jackrabbit Oak
          Issue Type: Improvement
            Reporter: Stefan Guggisberg

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

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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message