Thanks Chetan, for the helpful info.
  Yes you are correct I am talking about MongoBlobStore here.

I tried to find out the reference by using following query
db.nodes.find({blobId:{$exists:true}}. It returns nothing. Can you please
point me to the query I need to use to see the reference at work

My higher level objective is to understand , how Data is stored in Mongo DB
from say a page. When an user create a page and add some contents to it I
understand different nodes are getting created; but what exactly is driving
storing data in blob and interaction between node and blobs collection


Regards,
Abhijit


On Thu, Jun 26, 2014 at 12:58 PM, Chetan Mehrotra <[email protected]
> wrote:

> Looks like you are using the default MongoBlobStore. Based on that
>
> > 1) Based on what size data goes in blob collection
>
> For MongoBlobStore that is determined via
> org.apache.jackrabbit.oak.spi.blob.AbstractBlobStore#blockSizeMin
> which defaults to 4096
>
> > 2) Is there any reference between Nodes and blob collection
>
> The BlobId created for Binaries referred in Node property are stored
> in Node Document. Those blobId are for the document in Blob collection
>
> > 3) Is there a flow diagram from where I can find how exactly a content is
> getting loaded from Mongo to UI
>
> Which UI? These are mostly internal implementation details and you
> would have to refer to code for that.
>
> btw whats the higher level objective here. That might help us to clarify
> better
> Chetan Mehrotra
>
>
> On Wed, Jun 25, 2014 at 10:33 PM, Abhijit Mazumder
> <[email protected]> wrote:
> > Hi,
> >   This is my first mail to Oak mailing list. I tried to search markmail
> and
> > existing documentation to understand the interaction between blob and
> nodes
> > collection, but  I am not able to find any reference to understand
> > 1) Based on what size data goes in blob collection
> > 2) Is there any reference between Nodes and blob collection
> > 3) Is there a flow diagram from where I can find how exactly a content is
> > getting loaded from Mongo to UI
> >
> > If somebody can point me to relevant classes or any other reference that
> > would be great
> >
> > Regards,
> > Abhijit
>

Reply via email to