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

Dominique Pfister commented on OAK-1333:
----------------------------------------

Some technical detail: currently, when a stream is written to the SegmentStore, 
it will be prepended by its length, which may occupy 1,2 or 4 bytes. These 
lengths are introduced with 2 bits 0x (where x might be 0 or 1),10 and 11, 
respectively. In my approach, I used another sequence, namely 111. This could 
generate a clash with streams of length bigger or equal to  0x2000000000000000 
(2 exabytes).

> Support for Blobs in external storage
> -------------------------------------
>
>                 Key: OAK-1333
>                 URL: https://issues.apache.org/jira/browse/OAK-1333
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: segmentmk
>    Affects Versions: 0.14
>            Reporter: Dominique Pfister
>            Assignee: Dominique Pfister
>         Attachments: patch.txt
>
>
> Currently, when putting a Blob into a PropertyState, the SegmentNodeStore 
> automatically consumes the Blob if it isn't of type SegmentBlob, and stores 
> its contents in the SegmentStore.
> It would be nice, if one could put _external_ Blobs as well, where the 
> SegmentStore would only store a reference to it.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to