Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A9BC1200CDE for ; Tue, 25 Jul 2017 01:51:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A7F7E163B7B; Mon, 24 Jul 2017 23:51:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EEED3163B4E for ; Tue, 25 Jul 2017 01:51:14 +0200 (CEST) Received: (qmail 85667 invoked by uid 500); 24 Jul 2017 23:51:14 -0000 Mailing-List: contact commits-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list commits@jackrabbit.apache.org Received: (qmail 85658 invoked by uid 99); 24 Jul 2017 23:51:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2017 23:51:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 870BA1805CB; Mon, 24 Jul 2017 23:51:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.002 X-Spam-Level: X-Spam-Status: No, score=-0.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 2S_ozi2Ee83t; Mon, 24 Jul 2017 23:51:12 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id C10E15FBE5; Mon, 24 Jul 2017 23:51:11 +0000 (UTC) Received: from moin-vm.apache.org (moin-vm.apache.org [163.172.69.106]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id E9888E044C; Mon, 24 Jul 2017 23:51:10 +0000 (UTC) Received: from moin-vm.apache.org (localhost [IPv6:::1]) by moin-vm.apache.org (ASF Mail Server at moin-vm.apache.org) with ESMTP id E71D980017; Tue, 25 Jul 2017 01:51:09 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Mon, 24 Jul 2017 23:51:08 -0000 Message-ID: <150094026888.19603.13828950918297290235@moin-vm.apache.org> Subject: =?utf-8?q?=5BJackrabbit_Wiki=5D_Update_of_=22Overlay_Blob_Store=22_by_Mat?= =?utf-8?q?tRyan?= Auto-Submitted: auto-generated archived-at: Mon, 24 Jul 2017 23:51:15 -0000 Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" fo= r change notification. The "Overlay Blob Store" page has been changed by MattRyan: https://wiki.apache.org/jackrabbit/Overlay%20Blob%20Store New page: =3D Overlay Blob Store =3D =3D=3D Overview =3D=3D The overlay blob store is a multi-source blob store - a logical blob store = consisting of at least two delegate blob stores. In the case of the overla= y blob store, the union of all the data in all the delegate blob stores is = presented to a user of the overlay blob store as a single logical "view" of= the data being stored. Example: '''Delegate Blob Store A''' * FileA * FileC * FileE '''Delegate Blob Store B''' * FileB * FileE * FileF * FileG '''Overlay Blob Store View''' * FileA * FileB * FileC * FileE * FileF * FileG The delegates for the overlay blob store are specified in configuration. P= art of the configuration must include an indication of the priority of each= delegate blob store. Reads and writes will be attempted in the order spec= ified by the priority. =3D=3D=3D Reads =3D=3D=3D The overlay blob store fulfills read requests by attempting to satisfy the = read request from each delegate. The read is issued to each delegate in pr= iority order. Once a read is successfully satisfied by a delegate, the res= ult of the delegate read is returned as the result of the overlay blob stor= e read and no subsequent reads are attempted for that request. It is possi= ble for a blob to exist in more than one delegate. =3D=3D=3D Writes =3D=3D=3D The overlay blob store fulfills write requests by attempting to write to ea= ch delegate in priority order. Once a write is successfully satisfied by a= delegate, the result of the delegate write is returned as the result of th= e overlay blob store write and no subsequent writes are attempted for that = request. =3D=3D=3D Read-Only Delegates =3D=3D=3D The overlay blob store supports the notion of a read-only delegate blob sto= re. One or more of the delegate blob stores can be configured in read-only= mode, meaning that it can be used to satisfy read requests but not write r= equests. An example use case for this scenario is where two content reposi= tories are used, one for a production environment and one for a staging env= ironment. The staging repository can be configured with an overlay blob st= ore that accesses to the production storage location in read-only mode, so = tests can execute in staging using production data without modifying produc= tion data or the production store. Reads issued to a read-only delegate would be processed as normal. Writes = issued to a read-only delegate would fail, causing the overlay blob store t= o move on to the next delegate to attempt to fulfill the write request. Note that configuring all delegates of an overlay blob store would make the= blob store useless for storing blobs and thus should not be an allowed con= dition - at least one delegate blob store must not be a read-only delegate.