jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig <mdue...@apache.org>
Subject Re: svn commit: r1577316 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/commit/ChangeDispatcher.java
Date Thu, 13 Mar 2014 21:30:09 GMT


On 13.3.14 10:14 , Jukka Zitting wrote:
>
> As a result the observer added in thread A would see State1 as the
> initial state of the repository, and State3 as the result of the first
> observed commit. By synchronizing the addObserver() method we can
> ensure that no commit() call is completed while the observer is being
> added.

Good point! Fixed at r1577326.

Michael

Mime
View raw message