You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2015/05/18 07:19:59 UTC

[jira] [Commented] (OAK-2627) Optimize equals in AbstractBlob

    [ https://issues.apache.org/jira/browse/OAK-2627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14547543#comment-14547543 ] 

Chetan Mehrotra commented on OAK-2627:
--------------------------------------

{{SegmentBlob#getContentIdentity}} currently returns the recordId. This would not serve the true purpose as recordId might differ between two setups having same binary and hence feature like binary less replication might not work as intended

[~teofili] [~alex.parvulescu] Thoughts?

> Optimize equals in AbstractBlob
> -------------------------------
>
>                 Key: OAK-2627
>                 URL: https://issues.apache.org/jira/browse/OAK-2627
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.1.7
>            Reporter: Julian Sedding
>            Priority: Minor
>         Attachments: OAK-2627-chetanm.patch, OAK-2627.patch
>
>
> During some work on the upgrade tool, I discovered tat AbstractBlob's {{equals}} method does not leverage reference comparison.
> While I have not investigated whether this really helps, I suspect it does. This issue is for the consideration of people with a deeper understanding of the system's dynamics.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)