From users-return-18305-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Thu Nov 3 13:17:06 2011 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 428F17792 for ; Thu, 3 Nov 2011 13:17:06 +0000 (UTC) Received: (qmail 89363 invoked by uid 500); 3 Nov 2011 13:17:05 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 89254 invoked by uid 500); 3 Nov 2011 13:17:05 -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 89246 invoked by uid 99); 3 Nov 2011 13:17:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2011 13:17:05 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jukka.zitting@gmail.com designates 74.125.82.170 as permitted sender) Received: from [74.125.82.170] (HELO mail-wy0-f170.google.com) (74.125.82.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2011 13:16:59 +0000 Received: by wyg10 with SMTP id 10so2645792wyg.1 for ; Thu, 03 Nov 2011 06:16:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Ns2W9TXdkeqa8/kq1RRszvZ6VOM6ZcdBRbyMdcl+TCY=; b=C7f9vQ9EcbuEUoFz3KUhwgVuSvYcW8i4FM41OMeO8J+xMDfuoFqIxc8UTph0fTAz4f KaaziAosNHwgRw5afebc0uvE+7ViP8aOwgc3nZZIESdOFFa4kpwopnCsT/hlqwFlGtb0 1PS5j/KZnpk5Zn4yRAwGpaJrA1K9DidPtBRHw= Received: by 10.227.59.204 with SMTP id m12mr13316301wbh.14.1320326198115; Thu, 03 Nov 2011 06:16:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.180.109.165 with HTTP; Thu, 3 Nov 2011 06:16:17 -0700 (PDT) In-Reply-To: References: From: Jukka Zitting Date: Thu, 3 Nov 2011 14:16:17 +0100 Message-ID: Subject: Re: Exception when operating through load balancer To: users@jackrabbit.apache.org, fcarriedos@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Hi Francisco, There's a small delay on when content changes in one cluster node become properly visible on another node, which is why I'd recommended using a Jackrabbit cluster only in a setup that supports session affinity. Otherwise you can easily end up seeing partially inconsistent results for a short while after updates. And definitely it'll confuse the server if you're trying to save content and the save() call ends up sending multiple requests all to separate cluster nodes. Anyway, such a failed save() should not be able to cause repository inconsistencies. Do you still see the problems when accessing the repository locally? To check for consistency issues you can add the consistencyCheck parameter [1] to the PersistenceManager entry in the workspace.xml configuration file. At next restart the repository will run a full consistency check of that workspace and log warnings about all problems it may find. [1] http://jackrabbit.apache.org/api/2.2/org/apache/jackrabbit/core/persistence/pool/BundleDbPersistenceManager.html#setConsistencyCheck(java.lang.String) BR, Jukka Zitting