Re: svn commit: r1627052 - in /jackrabbit/oak/trunk/oak-core/src: main/java/org/apache/jackrabbit/oak/plugins/index/IndexUpdate.java test/java/org/apache/jackrabbit/oak/plugins/index/IndexUpdateTest.j

2014-09-24 Thread Alex Parvulescu
Hi, I'm not convinced about storing upgrade history as hidden nodes is a good idea. If somebody installs a new version, and you need to keep track of the upgrade, the nodes need to be visible on the jcr layer, otherwise the system needs to be taken offline just to check the upgrade history. Is the

Re: svn commit: r1627052 - in /jackrabbit/oak/trunk/oak-core/src: main/java/org/apache/jackrabbit/oak/plugins/index/IndexUpdate.java test/java/org/apache/jackrabbit/oak/plugins/index/IndexUpdateTest.j

2014-09-24 Thread Davide Giannella
On 24/09/2014 09:44, Chetan Mehrotra wrote: > On Wed, Sep 24, 2014 at 1:57 PM, Davide Giannella wrote: >> Let's say we want to keep logs of upgrades between the index >> definitions, I would store these kind of information under a hidden node >> as well. > It would be better to store them in prope

Re: svn commit: r1627052 - in /jackrabbit/oak/trunk/oak-core/src: main/java/org/apache/jackrabbit/oak/plugins/index/IndexUpdate.java test/java/org/apache/jackrabbit/oak/plugins/index/IndexUpdateTest.j

2014-09-24 Thread Chetan Mehrotra
On Wed, Sep 24, 2014 at 1:57 PM, Davide Giannella wrote: > Let's say we want to keep logs of upgrades between the index > definitions, I would store these kind of information under a hidden node > as well. It would be better to store them in proper nodes. With that you can access them via std JCR

Re: svn commit: r1627052 - in /jackrabbit/oak/trunk/oak-core/src: main/java/org/apache/jackrabbit/oak/plugins/index/IndexUpdate.java test/java/org/apache/jackrabbit/oak/plugins/index/IndexUpdateTest.j

2014-09-24 Thread Davide Giannella
On 23/09/2014 16:18, chet...@apache.org wrote: > --- > jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/IndexUpdate.java > (original) > +++ > jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/IndexUpdate.java > Tue Sep ... >