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

Chetan Mehrotra commented on OAK-6911:
--------------------------------------

It may be better to just disable the default inlining if any BlobStore is 
configured. This allows tuning the inlining config at one place i.e. in 
BlobStore config. If someone want to use old behaviour he can just set the 
maxInlineSize of BlobStore to 16KB

Looking at flow I think such a change should not impact existing content i.e. 
no impact on upgrade as only new binaries would be subjected to this limit. Old 
inlined binaries can still be read as is and no migration would be required.

[~mduerig] Thoughts?


> Provide a way to tune inline size while storing binaries
> --------------------------------------------------------
>
>                 Key: OAK-6911
>                 URL: https://issues.apache.org/jira/browse/OAK-6911
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segment-tar
>            Reporter: Chetan Mehrotra
>             Fix For: 1.8
>
>
> SegmentNodeStore currently inlines binaries of size less that 16KB 
> (Segment.MEDIUM_LIMIT) even if external BlobStore is configured. 
> Due to this behaviour quite a bit of segment tar storage consist of blob 
> data. In one setup out of 370 GB segmentstore size 290GB is due to inlined 
> binary. If most of this binary content is moved to BlobStore then it would 
> allow same repository to work better in lesser RAM
> So it would be useful if some way is provided to disable this default 
> behaviour and let BlobStore take control of inline size i.e. in presence of 
> BlobStore no inlining is attempted by SegmentWriter.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to