jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-1945) Unclear NodeStore.merge() contract
Date Mon, 07 Jul 2014 15:08:33 GMT

     [ https://issues.apache.org/jira/browse/OAK-1945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jukka Zitting updated OAK-1945:
-------------------------------

    Description: 
The SegmentMK doesn't respect the #merge contract when there is a builder that has no local
changes passed in.
This popped-up while I was reworking the restore parts and with the new compaction code, the
only option is to pass in a NodeState#Builder builder which is considered by the #merge method
as a noop and therefore ignored.

(update: See comments below)

  was:
The SegmentMK doesn't respect the #merge contract when there is a builder that has no local
changes passed in.
This popped-up while I was reworking the restore parts and with the new compaction code, the
only option is to pass in a NodeState#Builder builder which is considered by the #merge method
as a noop and therefore ignored.

        Summary: Unclear NodeStore.merge() contract  (was: SegmentMK #merge inconsistency)

> Unclear NodeStore.merge() contract
> ----------------------------------
>
>                 Key: OAK-1945
>                 URL: https://issues.apache.org/jira/browse/OAK-1945
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Alex Parvulescu
>         Attachments: MergeTest.java.patch
>
>
> The SegmentMK doesn't respect the #merge contract when there is a builder that has no
local changes passed in.
> This popped-up while I was reworking the restore parts and with the new compaction code,
the only option is to pass in a NodeState#Builder builder which is considered by the #merge
method as a noop and therefore ignored.
> (update: See comments below)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message