jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
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
Date Tue, 14 Aug 2012 21:10:49 GMT
Hi,

On Tuesday, August 14, 2012, Michael Dürig 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 time.


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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message