[
https://issues.apache.org/jira/browse/OAK-5272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16343163#comment-16343163
]
Amit Jain commented on OAK-5272:
--------------------------------
[~mduerig], [~tmueller]
Would an addition of a method below to the BlobStore be good for the purpose?
This keeps the amount of required changes to low. I have avoided pushing the
blob equal method to the BlobStore because currently the BlobStore(s) are not
aware of the Blob object.
{code:java}
/**
*
* Will return true if blob ids are generated from content hash
*
* @return true if blobs are content addressable
*/
boolean hasContentAdressableBlobIds();
{code}
> Expose BlobStore API to provide information whether blob id is content hashed
> -----------------------------------------------------------------------------
>
> Key: OAK-5272
> URL: https://issues.apache.org/jira/browse/OAK-5272
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: blob
> Reporter: Amit Jain
> Priority: Major
>
> As per discussion in OAK-5253 it's better to have some information from the
> BlobStore(s) whether the blob id can be solely relied upon for comparison.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)