jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Flavio Donzé" <flavio.do...@gmail.com>
Subject AW: Smart Versioning of dirty/unchanged Nodes
Date Wed, 20 May 2009 12:26:18 GMT
Hi Jukka

Thanks for your reply.

I'm not sure if I got it right.

So if doc1.doc and doc2.doc are file Nodes containing binary data of a MS
Word document, doc1.doc 1.0 and 1.1 will be different in the repository and
doc2.doc 1.0 and 1.1 will "link" to the same binary data?


Flavio Donzé
Software Engineer
My Blog:  http://swissdev.blogspot.com/

-----Ursprüngliche Nachricht-----
Von: Jukka Zitting [mailto:jukka.zitting@gmail.com] 
Gesendet: Mittwoch, 20. Mai 2009 11:19
An: users@jackrabbit.apache.org
Betreff: Re: Smart Versioning of dirty/unchanged Nodes


On Wed, May 20, 2009 at 11:14 AM, Flavio Donzé <flavio.donze@gmail.com>
> Now if I make changes on doc1.doc and checkin the Node 123, will
> also make a copy of doc2.doc?

Yes, assuming doc2.doc is not versionable by itself or the node type
of node 123 does not declare the child node to be ignored by
versioning operations.

> Since doc2.doc didn’t change, version 1.0 and 1.1 would have the same


Note that if you use the data store feature, any binary properties in
doc2.doc will only be stored once, so you don't need to worry about
excessive disk usage.


Jukka Zitting

View raw message