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

Alex Parvulescu commented on OAK-3550:
--------------------------------------

would it make sense to wrap the SegmentWriter bits (the ones that actually 
persist this info) into a feature flag so we can disable it if needed, or 
better put, only enable it when we run some debugging/longevity tests? 
otherwise it looks good.

> Add meta data to segments
> -------------------------
>
>                 Key: OAK-3550
>                 URL: https://issues.apache.org/jira/browse/OAK-3550
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: segmentmk
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 1.3.10
>
>
> For various kinds of tooling it would be good to have additional meta data 
> available within segments. Like which segment writer wrote (i.e. system or 
> compaction) the segment, a time stamp, the revision gc generation etc. 
> Such meta data could live in a regular String record right at the beginning 
> of the segment. As such it would always occupy the first slot of the root 
> records and would be very easy to get to in tooling. Additionally it would be 
> written as regular content and thus wouldn't require any changes in the 
> segment format. 



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

Reply via email to