Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 285E2DB00 for ; Tue, 14 Aug 2012 21:11:20 +0000 (UTC) Received: (qmail 3851 invoked by uid 500); 14 Aug 2012 21:11:20 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 3820 invoked by uid 500); 14 Aug 2012 21:11:20 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 3812 invoked by uid 99); 14 Aug 2012 21:11:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2012 21:11:20 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jukka.zitting@gmail.com designates 209.85.220.170 as permitted sender) Received: from [209.85.220.170] (HELO mail-vc0-f170.google.com) (209.85.220.170) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2012 21:11:11 +0000 Received: by vcbgb30 with SMTP id gb30so1840797vcb.1 for ; Tue, 14 Aug 2012 14:10:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=VtKfm/uWrPndeybehUNnWcAlgsDO8S/HJpPT8Gl4LTs=; b=ZR/W63f5VKmAf8ASPpdvbMPMn/FDPoqYqYKVNS2r3cmkuktmFCKwyrWAShoN75yRfV mMJu56hIij2LAVNOJfvzOqkN9V4sN0jNxk+7dFZNK/hrz0dW+ywEx2CIVoVmOk1IZwhH dBOFRrFsR0n5hGlTo8BrD14J+6kjCh6wh0rsh+Y0j8FUxrZixbZLQHGy54vxr3dLN+WE AhIh4Qd3xrBnzGdTQfJnYC23nDT8QBBae2D/a8RwwQj6hVb2MXsK3V9mUzHdFFW8Ja32 dqqQ+6GuywuJ+Nnxc5KXnXTEz9lW3lNK2GyzPWXkqNSHwYDHPLVIWBpTk81JS1xzUIZk Lu5A== MIME-Version: 1.0 Received: by 10.58.247.138 with SMTP id ye10mr13047295vec.20.1344978649719; Tue, 14 Aug 2012 14:10:49 -0700 (PDT) Received: by 10.220.32.9 with HTTP; Tue, 14 Aug 2012 14:10:49 -0700 (PDT) Date: Tue, 14 Aug 2012 23:10:49 +0200 Message-ID: Subject: Re: svn commit: r1368425 - in /jackrabbit/oak/trunk: oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/ oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/observation/ oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/osgi/ oak-jcr/src/main/java From: Jukka Zitting To: "oak-dev@jackrabbit.apache.org" Content-Type: multipart/alternative; boundary=047d7bea44baa5a48504c7403e3a --047d7bea44baa5a48504c7403e3a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, On Tuesday, August 14, 2012, Michael D=FCrig wrote: > > This change will prevent the repository from shutting down until all > observation events from a running diff are delivered. Depending on the > number of changes in the tree this could delay shutdown for quite some ti= me. Hmm, if that's the case, then it's a bug. Is there a test case? In general the repository shutdown should IMO *never* block for any background tasks. A "kill -9" on a JVM process should IMHO be considered a valid way to shutdown a repository running inside the JVM, so there's nothing that the repository should expect a background task to finish in time for shutdown. BR, Jukka Zitting --047d7bea44baa5a48504c7403e3a--