Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7B204631E for ; Thu, 21 Jul 2011 23:28:16 +0000 (UTC) Received: (qmail 71099 invoked by uid 500); 21 Jul 2011 23:28:16 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 70951 invoked by uid 500); 21 Jul 2011 23:28:15 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 70943 invoked by uid 99); 21 Jul 2011 23:28:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2011 23:28:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.160.170] (HELO mail-gy0-f170.google.com) (209.85.160.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2011 23:28:07 +0000 Received: by gyb13 with SMTP id 13so955556gyb.15 for ; Thu, 21 Jul 2011 16:27:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.49.9 with SMTP id w9mr489241wfw.52.1311290866184; Thu, 21 Jul 2011 16:27:46 -0700 (PDT) Received: by 10.143.90.18 with HTTP; Thu, 21 Jul 2011 16:27:46 -0700 (PDT) X-Originating-IP: [109.80.30.111] In-Reply-To: <4E286D1F.2000709@redhat.com> References: <4E283551.6060309@redhat.com> <4E286D1F.2000709@redhat.com> Date: Fri, 22 Jul 2011 01:27:46 +0200 Message-ID: Subject: Re: How to detect the initial synchronization of brokers in cluster From: Jakub Scholz To: Alan Conway Cc: users@qpid.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable > There is a reason for this behaviour. Qpidd is run by service startup > scripts and I don't want to block other services from starting until qpid= d > has loaded its store. Worse, with cluster-size=3DN, brokers starting up w= ill > wait till there are N members in the cluster so they can sync their store > status. If qpidd didn't return till this was done, it could delay startup= of > the host for an arbitrarily long time. =A0On the other hand I take your p= oint > that it gives a false impression of readiness. Maybe this behaviour shoul= d > be configurable. > Well, yes, configuring this in qpidd directly will be certainly nice. But I guess for most situations it will be completely fine if the status can be displayed using qpid-cluster, qpid-cluster-store or some simmilar utility. That may be easier then modifying qpidd directly and at the end using a bit of shell programming, you can achieve almost the same effect. Thanks & Regards Jakub --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscribe@qpid.apache.org