Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5A7D171B5 for ; Thu, 6 Oct 2011 16:39:54 +0000 (UTC) Received: (qmail 95240 invoked by uid 500); 6 Oct 2011 16:39:53 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 95206 invoked by uid 500); 6 Oct 2011 16:39:53 -0000 Mailing-List: contact dev-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 dev@jackrabbit.apache.org Received: (qmail 95193 invoked by uid 99); 6 Oct 2011 16:39:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2011 16:39:53 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2011 16:39:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B2A9D2AC110 for ; Thu, 6 Oct 2011 16:39:29 +0000 (UTC) Date: Thu, 6 Oct 2011 16:39:29 +0000 (UTC) From: "Bart van der Schans (Updated) (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <423120088.4014.1317919169733.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <881085017.34347.1305021723144.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (JCR-2968) Add an option to read the Clustering Journal from a different source than the rest of the clustering info MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-2968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bart van der Schans updated JCR-2968: ------------------------------------- Labels: patch (was: ) Affects Version/s: 2.2.9 Status: Patch Available (was: Open) > Add an option to read the Clustering Journal from a different source than the rest of the clustering info > --------------------------------------------------------------------------------------------------------- > > Key: JCR-2968 > URL: https://issues.apache.org/jira/browse/JCR-2968 > Project: Jackrabbit Content Repository > Issue Type: New Feature > Components: clustering, jackrabbit-core > Affects Versions: 2.2.9 > Reporter: Christian Stocker > Assignee: Jukka Zitting > Labels: patch > Fix For: 2.3.1 > > Attachments: 0001-JCR-2968-Add-an-option-to-read-the-Clustering-Journa.patch, database-slave-local-revision-on-file.diff, patch_commit_2eed44310e71.patch > > > This patch adds the possibility to read (but not write) the Cluster JOURNAL from a different source than the rest of the cluster information. This makes it possible to setup a master/slave DB setup, where everything cluster related is read from the slave, but writes to the master. It reads the actual data also from the slave and assumes that this jackrabbit instance never does any writes (except for updating the cluster index position in the DB). We have to read the Cluster Journal from the slave to guarantee a consistent state > More info why and how is here > http://blog.liip.ch/archive/2011/05/04/how-to-make-jackrabbit-globally-distributable-fail-safe-and-scalable-in-one-go.html > I didn't write any tests yet, if you can point me, where I should add them, I'll gladly do them. > Would be great, if we could integrate that in any of the future Jackrabbit releases. > It's of course fully backwards compatible, nothing changes, if you don't sepcify > > in repository.xml -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira