Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DE55310632 for ; Tue, 16 Apr 2013 14:44:54 +0000 (UTC) Received: (qmail 1310 invoked by uid 500); 16 Apr 2013 14:44:54 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 1284 invoked by uid 500); 16 Apr 2013 14:44:54 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 1276 invoked by uid 99); 16 Apr 2013 14:44:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Apr 2013 14:44:54 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of d.hobi@gmx.ch designates 212.227.17.20 as permitted sender) Received: from [212.227.17.20] (HELO mout.gmx.net) (212.227.17.20) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Apr 2013 14:44:45 +0000 Received: from mailout-de.gmx.net ([10.1.76.12]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0LnVlw-1V37tm3CMo-00hiIm for ; Tue, 16 Apr 2013 16:44:24 +0200 Received: (qmail invoked by alias); 16 Apr 2013 14:44:24 -0000 Received: from 84-74-15-94.dclient.hispeed.ch (EHLO [192.168.0.10]) [84.74.15.94] by mail.gmx.net (mp012) with SMTP; 16 Apr 2013 16:44:24 +0200 X-Authenticated: #12164079 X-Provags-ID: V01U2FsdGVkX19KQ6FKR5RKR2lv4vTdlaNm02phB9yBlGGmooJ6z9 /T6RakIlijgSeG Subject: Re: Versioning question References: From: Daniel Hobi Content-Type: text/plain; charset=us-ascii X-Mailer: iPhone Mail (10B329) In-Reply-To: Message-Id: Date: Tue, 16 Apr 2013 16:44:22 +0200 To: "users@jackrabbit.apache.org" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org AFAIK, when using filedatastore, jackrabbit calculates a sha1 ckecksum over t= he content of a file. The checksum will then be split up and used as folder/= filename.=20 If you have 2 identical files, the checksum will be exactly the same resulti= ng in one file on the disk. Daniel Von meinem iPhone gesendet Am 16.04.2013 um 15:34 schrieb "Marek Slama" : > Hello, >=20 > I want to ask if Jackrabbit makes any space optimization when new version o= f > binary content is created. For example: > I have file node F: I create version V1 and then version V2 but I actually= =20 > do not check in my code if anything has changed. > so V1 1.0 and V2 1.1 content are the same. Is binary content stored twice o= r > only once? >=20 > ie. my versionable node is: > Node fileNode =3D documentNode.addNode(docxName, NodeType.NT_ > FILE); > fileNode.addMixin(NodeType.MIX_VERSIONABLE); > fileNode.addMixin(NodeType.MIX_CREATED); >=20 > Thanks >=20 > Marek >=20 > =3D