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 "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2016/11/18 19:18:58 UTC

[jira] [Created] (OAK-5130) Prevent FileStore wrapping the segment buffer twice for the generation info

Alex Parvulescu created OAK-5130:
------------------------------------

             Summary: Prevent FileStore wrapping the segment buffer twice for the generation info
                 Key: OAK-5130
                 URL: https://issues.apache.org/jira/browse/OAK-5130
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: segment-tar
            Reporter: Alex Parvulescu


It seems the FileStore#writeSegment method will wrap the buffer a second time to extract the generation info [0], information which only applies to data segments and should already be available.


[0] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/file/FileStore.java#L621



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