Re: Sort order in MongoMissingLastRevSeeker

2017-05-04 Thread Chetan Mehrotra
On Thu, May 4, 2017 at 3:15 PM, Marcel Reutegger wrote: > A can't really think of a reason why the sort order must be descending in > MongoMissingLastRevSeeker. I also do not remember. I think it should be fine to drop the sort criteria. Chetan Mehrotra

Re: Module to host oak-run console scripts

2017-05-02 Thread Chetan Mehrotra
For now I have moved those scripts to https://github.com/chetanmeh/oak-console-scripts. Later we can possibly move them to Oak repo if there is a wider interest Chetan Mehrotra On Wed, Apr 19, 2017 at 7:42 PM, Davide Giannella wrote: > On 13/04/2017 10:59, Robert Munteanu wrote: >> O

Re: A federated data store

2017-04-21 Thread Chetan Mehrotra
method as part of NodeStore API OakValueFactory can then wrap the "context" i.e. path, node etc as part of BlobOption which can then be used for store selection. How this impacts the GC logic would also needs to be thought about. Chetan Mehrotra PS: Above is more of a brain dump in thinking out loud mode :)

Re: oak-run: Enforcing size

2017-04-21 Thread Chetan Mehrotra
+1 for failing a build as warnings at times go unnoticed. If it breaks we can analyze what got pulled in and then we can raise the limit Chetan Mehrotra On Fri, Apr 21, 2017 at 7:09 PM, Davide Giannella wrote: > Hello team, > > in order to not ending up again with a very big oak-ru

Re: svn commit: r1791885 - /jackrabbit/oak/trunk/oak-examples/webapp/pom.xml

2017-04-19 Thread Chetan Mehrotra
On Wed, Apr 19, 2017 at 2:49 PM, wrote: > -2.5 > +3.0.0 May be we specify the version in parent pluginManagement and not have explicit version in any child pom Chetan Mehrotra

Re: svn commit: r1791894 - in /jackrabbit/oak/trunk: oak-benchmarks/pom.xml oak-upgrade/pom.xml

2017-04-19 Thread Chetan Mehrotra
On Wed, Apr 19, 2017 at 3:31 PM, wrote: > -2.4.3 > +3.0.0 May be we move the version to parent Chetan Mehrotra

Re: Module to host oak-run console scripts

2017-04-13 Thread Chetan Mehrotra
ub account but then its hard to collaborate there with other developers hence the ask for having a place in oak svn. Chetan Mehrotra

Re: Module to host oak-run console scripts

2017-04-13 Thread Chetan Mehrotra
ve quite a bit of them in my github (and few other devs also maintain such scripts). So idea here was to consolidate such common scripts at one place. Chetan Mehrotra

Re: Module to host oak-run console scripts

2017-04-13 Thread Chetan Mehrotra
See OAK-6075 for an example for such a script Chetan Mehrotra On Thu, Apr 13, 2017 at 10:35 AM, Chetan Mehrotra wrote: > Hi Team, > > We have few oak-run console groovy scripts used often to > analyze/troubleshoot customer setups. Currently these are scattered > across vari

Module to host oak-run console scripts

2017-04-12 Thread Chetan Mehrotra
would not be part of build 3. Scripts present here would be generic i.e. not tied to any product Thoughts? Chetan Mehrotra

Re: New JIRA component for observation

2017-03-30 Thread Chetan Mehrotra
On Thu, Mar 30, 2017 at 7:55 PM, Thomas Mueller wrote: > Depending on that, we can use "Maven" module boundaries, or "Logical" module > boundaries. My preference is for "Logical" module boundaries and not be bounded by the Maven module boundaries. Chetan Mehrotra

Improving Oak Documentation

2017-03-29 Thread Chetan Mehrotra
missing and which specific aspect needs improvement. Chetan Mehrotra [1] https://jackrabbit.apache.org/oak/docs [2] https://issues.apache.org/jira/browse/OAK-5998

Re: Cassandra as NodeStore

2017-03-29 Thread Chetan Mehrotra
Adding to that below are few features I think any new store would have to support 1. Sorted primary key access - For now required to find children of any parent path 2. secondary indexes apart from _id field 3. compare-and-set (CAS) operations for sub fields Chetan Mehrotra On Wed, Mar 29

Re: New JIRA component for observation

2017-03-28 Thread Chetan Mehrotra
logical feature set in Oak allows better tracking and discovery of logged issues which is harder with current set where "core" component has lots of different types of issues clubbed together Chetan Mehrotra On Tue, Mar 28, 2017 at 12:32 PM, Angela Schreiber wrote: > i agree with marcel.

Re: New JIRA component for observation

2017-03-27 Thread Chetan Mehrotra
roup issues by > features like observation. For now I prefer a logical separation in JIRA issues. Compared to label the components have better in built support in JIRA ui like open/closed/aging reports, drop down etc. So it would be better to use components over label for such distinct features in Oak. Chetan Mehrotra

Re: Logger category org.apache.jackrabbit.oak.jcr.operations.writes includes 'refresh' operation

2017-03-26 Thread Chetan Mehrotra
Its a write operation as it has potential to change the session state. If the refresh is done with keepChanges=false the current transient changes would be discarded. Chetan Mehrotra On Fri, Mar 24, 2017 at 2:07 PM, Robert Munteanu wrote: > Hi, > > With Oak 1.6.1 I'

New JIRA component for observation

2017-03-26 Thread Chetan Mehrotra
ntmk and core" unless the change impacts code base outside of that component like in this case outside of documentmk package This would ensure that we can get some better sense out of issues currently clubbed under "core" Thoughts? Chetan Mehrotra

Re: New JIRA Components

2017-03-26 Thread Chetan Mehrotra
Created new jira component now query - 55 issues https://issues.apache.org/jira/browse/OAK/component/12320003 indexing - 18 issues https://issues.apache.org/jira/browse/OAK/component/12332439 property-index - 18 issues https://issues.apache.org/jira/browse/OAK/component/12332440 Chetan Mehrotra

Re: New JIRA Components

2017-03-26 Thread Chetan Mehrotra
On Fri, Mar 24, 2017 at 7:36 PM, Thomas Mueller wrote: > * Sometimes there is an overlap, in which case I guess multiple components > needs to be set. yes > * What to do with old issue. For now no need to modify old resolved issues. This is only applicable for current open issues

Re: Documenting enhancements done in Oak 1.6

2017-03-23 Thread Chetan Mehrotra
them via links in main page. Would start a draft work here for docs I know and you can your doc links there. Chetan Mehrotra

Documenting enhancements done in Oak 1.6

2017-03-23 Thread Chetan Mehrotra
. Kindly create subtask under this for any new feature/enhancement which you can remember. Once this is done I would like to link to those new changes from the main site page! Chetan Mehrotra

Re: New JIRA Components

2017-03-23 Thread Chetan Mehrotra
stly present in AsyncIndexUpdate and IndexUpdate classes or any work to be done in that area. Chetan Mehrotra

New JIRA Components

2017-03-23 Thread Chetan Mehrotra
related to sync or async indexing 3. property-index - For any issue in Property index implementation This would enable getting better understanding of issues currently logged against "query" component Chetan Mehrotra

[site] Reorganize the side rail to show child pages

2017-03-21 Thread Chetan Mehrotra
DocumentNodeStore docs. May be some other sub pages can also be surfaced Hope the current changes are ok to publish! Thoughts? Chetan Mehrotra

Re: svn commit: r1787796 - in /jackrabbit/oak/trunk/oak-core/src: main/java/org/apache/jackrabbit/oak/plugins/document/ test/java/org/apache/jackrabbit/oak/plugins/document/

2017-03-20 Thread Chetan Mehrotra
log the current FormatVersion on system startup at info level Chetan Mehrotra

Re: Document indexing design of Oak

2017-03-20 Thread Chetan Mehrotra
e. Technically there can be other types of indexes as some one can implement a custom type. So would rephrase it to say for out of the box setup type can have following values property, lucene, solr, reference and counter. Chetan Mehrotra

Document indexing design of Oak

2017-03-20 Thread Chetan Mehrotra
again for final review before publishing it Chetan Mehrotra [1] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-doc/src/site/markdown/query/indexing.md

Re: Merging OAK-5784 into 1.6.1

2017-02-24 Thread Chetan Mehrotra
he change to 1.6 branch Chetan Mehrotra

Re: Merging OAK-5784 into 1.6.1

2017-02-24 Thread Chetan Mehrotra
strictionImpl is applicable for Binary property also Probably PropertyStateValue#hashCode should take care of Binary properties and thats why PropertyState#hashCode does not take into account the value Chetan Mehrotra On Fri, Feb 24, 2017 at 2:34 PM, Angela Schreiber wrote: > hi oak-devs > &

Re: Supporting "resumable" operations on a large tree

2017-02-24 Thread Chetan Mehrotra
ync index, content migration in sidegrade) etc Chetan Mehrotra

Re: Strong all documents under Root - severe slowness on start-up

2017-02-23 Thread Chetan Mehrotra
Can you provide a thread dump around startup time where you see Oak is reading all child nodes? Chetan Mehrotra On Fri, Feb 24, 2017 at 2:26 AM, Eugene Prystupa wrote: > Thanks, Michael. > > I should have included more details in the original email. > We are on 1.4.10 version of Ja

Re: CommitEditors looking for specific child node like oak:index, rep:cugPolicy leads to lots of redundant remote calls

2017-02-23 Thread Chetan Mehrotra
I realized now that I logged an issue for this recently OAK-5511 which mentioned similar approach. So lets move this discussion there Chetan Mehrotra On Thu, Feb 23, 2017 at 7:06 PM, Thomas Mueller wrote: > Hi, > >>I like Marcel proposal for "enforcing" use of mixin on par

Re: CommitEditors looking for specific child node like oak:index, rep:cugPolicy leads to lots of redundant remote calls

2017-02-23 Thread Chetan Mehrotra
x27; node if current node has that mixin. This would avoid the extra calls. For new setups we can enforce this and for upgrade we can migrate the existing code by using nodetype index to update all such "indexable" nodes Chetan Mehrotra On Thu, Feb 23, 2017 at 4:47 PM, Chetan Mehrotra

Re: CommitEditors looking for specific child node like oak:index, rep:cugPolicy leads to lots of redundant remote calls

2017-02-23 Thread Chetan Mehrotra
@Override public void enter(NodeState before, NodeState after) throws CommitFailedException { collectIndexEditors(builder.getChildNode(INDEX_DEFINITIONS_NAME), before); -- Which transalates into checking if the current node has a child node 'oak:index' and this leads to redudant calls. Chetan Mehrotra

CommitEditors looking for specific child node like oak:index, rep:cugPolicy leads to lots of redundant remote calls

2017-02-22 Thread Chetan Mehrotra
s to mark the parent with a specific hidden property which has such a node upon addition. This would avoid the negative lookup in case of updates Chetan Mehrotra

Supporting "resumable" operations on a large tree

2017-02-20 Thread Chetan Mehrotra
aversal looks tricky. Thoughts on what approach can be taken for enabling this? May be if we can expect a stable order in traversal at a given revision then we can keep track of paths t certain depth and then on retry skip processing of subtrees untill untill we get that path Chetan Mehrotra

Close a CI issue when resolving it as duplicate

2017-02-15 Thread Chetan Mehrotra
It appears that CI issues which are resolved as duplicate but not closed are still updated upon each successful build. So to reduce the noise it would be good to also close the issue when resolving a CI issue as duplicate Chetan Mehrotra

Re: [DISCUSS] Which I/O statistics should the FileStore expose?

2017-02-14 Thread Chetan Mehrotra
or those setups which do not have any external monitoring setup installed the time series provides some insight for stats in past via JMX Chetan Mehrotra [1] https://sling.apache.org/documentation/bundles/metrics.html#webconsole-plugin

Re: [DISCUSS] Which I/O statistics should the FileStore expose?

2017-02-13 Thread Chetan Mehrotra
Hi Francesco, As Julian mentioned it would be good to collects stats as Metrics. Have a look at DocumentStoreStats which collects some stats around operations being performed by DocumentStore implementations Chetan Mehrotra On Tue, Feb 14, 2017 at 12:37 AM, Julian Sedding wrote: > Hi France

Re: svn commit: r1781064 - /jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/index-management.md

2017-01-31 Thread Chetan Mehrotra
+{"print": "done; index is now:"}, > +{"xpath": "/jcr:root/oak:index/externalId", "depth": 2} > +]} > +exit Scripting in JSON looks interesting! However would like to understand the approach here and how it should be used. Oak Console already uses Groovy and can execute those script via ":load" construct. We already use this with customer setups to execute scripts hosted on github [1], [2] So not sure why we need to use this approach and how it meets the requirement for OAK-5324 Chetan Mehrotra [1] https://gist.github.com/stillalex/e7067bcb86c89bef66c8 [2] https://gist.github.com/chetanmeh/d7588d96a839dd2d26760913e4055215

Re: Retrieving Oak Repository object during tomcat deployment

2017-01-25 Thread Chetan Mehrotra
Have a look at webapp example at https://github.com/apache/jackrabbit-oak/tree/trunk/oak-examples/webapp Chetan Mehrotra On Wed, Jan 25, 2017 at 2:37 PM, Techie Technical wrote: > In My Enterprise Application (Java – 1.8 , Spring, Oak – 1.4.1 , MongoDB > Server – 3.2 ) to get Repository

Collect data for test failure in issue itself

2017-01-19 Thread Chetan Mehrotra
example for some of the older issue the links to CI are now resulting in 404 (see OAK-5263 for example) Chetan Mehrotra

Re: svn commit: r1779324 - in /jackrabbit/oak/trunk/oak-segment-tar: ./ src/test/java/org/apache/jackrabbit/oak/segment/standby/ src/test/java/org/apache/jackrabbit/oak/segment/test/

2017-01-18 Thread Chetan Mehrotra
; > +} > + > +} This looks useful and can be used in other places also like in [1]. Would be good if we can move it to oak-commons in org.apache.jackrabbit.oak.commons.junit package. Chetan Mehrotra [1] https://issues.apache.org/jira/browse/OAK-5441?focusedCommentId=15823491&page=co

Specify versions for maven plugins used in build for ensuring stable builds (OAK-5455)

2017-01-15 Thread Chetan Mehrotra
. Updating the version to latest where possible Opened OAK-5455 to track this. Chetan Mehrotra

Re: svn commit: r1775464 - /jackrabbit/oak/trunk/oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/file/FileStore.java

2016-12-21 Thread Chetan Mehrotra
On Wed, Dec 21, 2016 at 8:29 PM, wrote: > + */ > +private static final long GC_BACKOFF = getInteger("gc.backoff", > 10*3600*1000); > + Would be good to prefix the system property with "oak" . Chetan Mehrotra

Re: SegmentNodeStoreService vs. SegmentNodeStoreFactory

2016-12-13 Thread Chetan Mehrotra
would be good to have only factory mode ... just that we need to see if all required usage modes can be done with that or not Chetan Mehrotra On Tue, Dec 13, 2016 at 7:02 PM, Francesco Mari wrote: > After reviewing and applying the patch for OAK-4978, I found myself > wondering if we n

Re: Oak 1.5.15 release plan

2016-12-06 Thread Chetan Mehrotra
Hi Davide, All blocking issue from my side are resolved now Chetan Mehrotra On Mon, Dec 5, 2016 at 12:39 PM, Chetan Mehrotra wrote: > Hi Davide, > > I have marked OAK-5219 as blocker as I want it to be included in > 1.5.15. It might take max 1 day to resolve this issue. Would le

Re: Oak 1.5.15 release plan

2016-12-04 Thread Chetan Mehrotra
Hi Davide, I have marked OAK-5219 as blocker as I want it to be included in 1.5.15. It might take max 1 day to resolve this issue. Would let you know once I have any further update Chetan Mehrotra On Thu, Dec 1, 2016 at 4:45 PM, Davide Giannella wrote: > Hello team, > > I'm plann

Re: oak-lucene shaded

2016-11-25 Thread Chetan Mehrotra
s ... I thought you wanted Oak to adopt the approach and hence the confusion! Yes approach used should work fine for such cases. May be we can later add support to produce such a oak-lucene jar Chetan Mehrotra

Re: oak-lucene shaded

2016-11-25 Thread Chetan Mehrotra
On Fri, Nov 25, 2016 at 2:11 PM, Torgeir Veimo wrote: > Which other spi impl depends > on the lucene libraries being exposed? There are currently 2 defined in org.apache.jackrabbit.oak.plugins.index.lucene.spi package Chetan Mehrotra

Re: Frequent failures in standby test

2016-11-24 Thread Chetan Mehrotra
Per https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/1298/ the test again failed but mostly on Jdk 1.7. The test on Jdk 1.8 looks like passed. Chetan Mehrotra On Tue, Nov 22, 2016 at 12:48 PM, Chetan Mehrotra wrote: > They are from oak-segment-tar. See >

Re: oak-lucene shaded

2016-11-24 Thread Chetan Mehrotra
Hi Torgeir, We would not be able shade Lucene classes as they are exported and meant to be used by certain SPI implementations. So as of now there is no solution for using a different Lucene version in non OSGi world Chetan Mehrotra On Wed, Nov 23, 2016 at 7:15 PM, Torgeir Veimo wrote

Re: Build failing due to compilation errors in oak-segment-tar

2016-11-22 Thread Chetan Mehrotra
Added missed file in r1770910 @Francesco/Andrei Can you check if its the intended file. With this compilation passes on my setup Chetan Mehrotra On Wed, Nov 23, 2016 at 10:42 AM, Chetan Mehrotra wrote: > Build is failing locally and in CI [1] due to compilation error in > oak-segme

Build failing due to compilation errors in oak-segment-tar

2016-11-22 Thread Chetan Mehrotra
: cannot find symbol [ERROR] symbol: class SegmentGCStatus [ERROR] location: package org.apache.jackrabbit.oak.segment.compaction Chetan Mehrotra [1] https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/1296/jdk=JDK%201.8%20(latest),nsfixtures=SEGMENT_MK,profile=unittesting/console

Re: Frequent failures in standby test

2016-11-21 Thread Chetan Mehrotra
They are from oak-segment-tar. See https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/1295/#showFailuresLink Chetan Mehrotra On Tue, Nov 22, 2016 at 12:42 PM, Francesco Mari wrote: > Are those from oak-tarmk-standby or oak-segment-tar? > > 2016-11-22 6:11 GMT+01:00 Chetan

Frequent failures in standby test

2016-11-21 Thread Chetan Mehrotra
Hi Team, Since last 4-6 builds I am seeing a recurring failure of few test in standby module * FailoverIPRangeIT * ExternalPrivateStoreIT * StandbyTestIT Probably something to be looked into Chetan Mehrotra

Re: Is Lucene CopyOnRead/CopyOnWrite beneficial with SegmentNodeStore?

2016-11-21 Thread Chetan Mehrotra
In general its better that you use a BlobStore even with SegmenNodeStore. In that case CoR and CoW allows using Lucene's memory mapped FSDirectory support providing better performance. Some old numbers can be seen at [1] Chetan Mehrotra [1] https://issues.apache.org/jira/browse/OAK

Re: [REVIEW] New OSGi config for AsyncIndexUpdate service

2016-11-17 Thread Chetan Mehrotra
multiple indexers here -- asyncConfigs=[ \ "async:5", \ "async-fulltext:10", \ ] leaseTimeOutMinutes=I"15" -- Is that what you were looking for? Chetan Mehrotra

Re: Detecting if setup is a cluster or a single node via repository Descriptors

2016-11-16 Thread Chetan Mehrotra
On Wed, Nov 16, 2016 at 1:47 PM, Marcel Reutegger wrote: > why is the lease timeout for the async index update that high? See OAK-3834 for some discussion around the default timeout settings Chetan Mehrotra

Re: Detecting if setup is a cluster or a single node via repository Descriptors

2016-11-15 Thread Chetan Mehrotra
Looking further I think I can achieve the same by checking if NodeStore is instanceof org.apache.jackrabbit.oak.spi.state.Clusterable which was introduced with OAK-3529 and is currently implemented by DocumentNodeStore Chetan Mehrotra On Tue, Nov 15, 2016 at 3:39 PM, Stefan Egli wrote: >

Detecting if setup is a cluster or a single node via repository Descriptors

2016-11-15 Thread Chetan Mehrotra
say OAK_CLUSTERED having boolean value. A false means its not a cluster while true means it "might" be part of cluster. Thoughts? Chetan Mehrotra

[REVIEW] New OSGi config for AsyncIndexUpdate service

2016-11-15 Thread Chetan Mehrotra
component 'org.apache.jackrabbit.oak.plugins.index.AsyncIndexerService' -- asyncConfigs=[ \ "async:5", \ ] leaseTimeOutMinutes=I"15" -- AsyncIndexerService OSGi component would REQUIRE an explicit config to enable async indexing. The OSGi way of configuration is required for further enhancements in this area

Review unassigned issue for 1.6

2016-11-03 Thread Chetan Mehrotra
Hi Team, It would be good if team members can look at unassigned issues [1] and see what we should target for 1.6 Chetan Mehrotra [1] https://issues.apache.org/jira/issues/?jql=assignee%20in%20(EMPTY)%20and%20resolution%20%3D%20Unresolved%20AND%20project%20%3D%20%22Jackrabbit%20Oak%22%20%20and

Disable oak-run build for Jackrabbit OAK-5054

2016-11-02 Thread Chetan Mehrotra
Hi Team, I plan to remove the jr2 build for oak-run with OAK-5054. If someone feels that we should still have that version build then comment on OAK-5054. Otherwise I would disable the build by Nov-7 Chetan Mehrotra

Re: svn commit: r1767688 - in /jackrabbit/oak/trunk/oak-core/src: main/java/org/apache/jackrabbit/oak/query/QueryEngineSettings.java test/java/org/apache/jackrabbit/oak/query/QueryEngineSettingsServic

2016-11-02 Thread Chetan Mehrotra
Hi Marcel, That was due to previous commit 1767677. This change was meant to fix that. Would watch the build result Chetan Mehrotra On Wed, Nov 2, 2016 at 8:30 PM, Marcel Reutegger wrote: > Hi Chetan, > > this commit causes a test failure. Seen on travis: > https://travis-c

Issues waiting for changes in DocumentStore API

2016-10-25 Thread Chetan Mehrotra
api should be now such that these issues can be addressed in 1.6 release. May be we go for usecase specific api? Chetan Mehrotra

Re: Oak 1.5.13 release plan

2016-10-24 Thread Chetan Mehrotra
On Mon, Oct 24, 2016 at 4:53 PM, Julian Reschke wrote: > Chetan: I see that you marked OAK-3036 as "blocker" for this release -- but > then, do we have a plan to resolve it in a timely manner? Missed that. Moved it to next release and would try get it resolved by that time! Chetan Mehrotra

Re: Oak 1.5.13 release plan

2016-10-24 Thread Chetan Mehrotra
I would like to have OAK-4975 included. Marked that issue as blocker. I hope to resolve that today itself Chetan Mehrotra On Thu, Oct 20, 2016 at 7:07 PM, Davide Giannella wrote: > Hello team, > > I'm planning to cut Oak 1.5.13 on Monday 24th. > > If there are any objection

Re: svn commit: r1765583 - in /jackrabbit/oak/trunk: oak-core/src/main/java/org/apache/jackrabbit/oak/api/jmx/ oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/property/strategy/ oak-cor

2016-10-21 Thread Chetan Mehrotra
On Thu, Oct 20, 2016 at 6:08 PM, Julian Sedding wrote: > I think we could get away with increasing this to 4.1.0 if we can > annotate QueryEngineSettingsMBean with @ProviderType. Makes sense. Opened OAK-4977 for that Chetan Mehrotra

Re: [REVIEW] Configuration required for node bundling config for DocumentNodeStore - OAK-1312

2016-10-21 Thread Chetan Mehrotra
Opened OAK-4975 for query around default config handling. Chetan Mehrotra On Fri, Oct 21, 2016 at 2:14 PM, Davide Giannella wrote: > On 21/10/2016 08:23, Michael Marth wrote: >> Hi Chetan, >> >> Re “Should we ship with a default config”: >> >> I vote for a s

[REVIEW] Configuration required for node bundling config for DocumentNodeStore - OAK-1312

2016-10-20 Thread Chetan Mehrotra
or nt:file (may be other like rep:AccessControllable). If yes then how to do that. One way can be to introduce a new 'WhiteboardRepositoryInitializer' and then DocumentNodeStore can register one which bootstraps a default config Chetan Mehrotra [1] https://issues.apache.org/

Default setup configured to index all nodetype

2016-10-17 Thread Chetan Mehrotra
bleList.of(JCR_PRIMARYTYPE, JCR_MIXINTYPES), null /*declaringNodeTypeNames*/); As last param declaringNodeTypeNames is null all nodetypes gets indexed Is that intentional for default setup? I see its the way since very beginning but just wanted to check if we should revisit this Chetan Mehrotra

Re: Possibility of making nt:resource unreferenceable

2016-10-06 Thread Chetan Mehrotra
can be easily enabled/disabled if need arises. With this we would not have make change in many places like JcrUtil.putFile, WebDav, Vault, Sling Post Servlet, any custom code creating nt:file say using JcrUtil.putFile. Chetan Mehrotra

Possibility of making nt:resource unreferenceable

2016-10-03 Thread Chetan Mehrotra
nables a user to use a more optimum nodetype and get best performance out of underlying repository. Hopefully we can converge on some agreement here :) Chetan Mehrotra [1] http://markmail.org/thread/uj2ht4jwdrck7eja [2] http://markmail.org/thread/77xvjxtx42euhss4 [3] https://java.net/jira/browse/J

Re: Stopping long running traversal queries

2016-09-20 Thread Chetan Mehrotra
You can specify a traversal limit via QueryEngineSettingsMBean. This would be applicable on any running query Chetan Mehrotra On Wed, Sep 21, 2016 at 6:26 AM, Pantula Rajesh wrote: > Hi All, > > Is there a way to stop long running traversal queries? I was looking if there > is

Re: [VOTE] Require JDK7 for Oak 1.4

2016-09-19 Thread Chetan Mehrotra
+1 Chetan Mehrotra On Mon, Sep 19, 2016 at 12:41 PM, Marcel Reutegger wrote: > +1 > > Regards > Marcel > > > On 16/09/16 17:16, Julian Reschke wrote: >> >> On 2016-09-16 17:11, Davide Giannella wrote: >>> >>> ... >> >> >>

Re: Faster reference binary handling

2016-09-15 Thread Chetan Mehrotra
I think we fixes have been recently done in this area. However it would be good to have an integration test for reference check scenario to ensure that it unnecessarily does not download the blobs Chetan Mehrotra On Fri, Sep 16, 2016 at 11:56 AM, Thomas Mueller wrote: > Hi, > > Pos

Re: Infinite loop

2016-09-15 Thread Chetan Mehrotra
Looks like index would need to be reindex. It would be better to contact Adobe Support as closer analysis would be required Chetan Mehrotra On Thu, Sep 15, 2016 at 6:32 PM, Thiago Sanches wrote: > I removed the index folder but the error persists. I tried to remove the > "/

Re: Infinite loop

2016-09-14 Thread Chetan Mehrotra
se to subsequent restart times? Can you try cleaning local index folder (repository/index) and restart to see if its resolved. If not would suggest to followup on Adobe Support portal Chetan Mehrotra

Re: IndexEditorProvider behaviour question.

2016-09-14 Thread Chetan Mehrotra
ement say around unnecessary object generation then let us know! Chetan Mehrotra

Re: CommitHooks as OSGi Components.

2016-09-14 Thread Chetan Mehrotra
lability of the user id from events > (without full disclaimers) if it will not *always* be available. Thats the case for JCR level ObservationListener which makes use of BackgroundObserver. In Ian case he is directly building on top of Observer and hence can control the compaction aspect. Chetan Mehrotra

Re: Minimum JDK version

2016-09-12 Thread Chetan Mehrotra
I think Marcel created OAK-4791 for the same. So that should take care of enforcing this constraing Chetan Mehrotra On Mon, Sep 12, 2016 at 4:40 PM, Stefan Seifert wrote: > in sling we use the animal sniffer plugin for exactly this purpose [1]. > it checks that the compiled codes onl

Re: CommitHooks as OSGi Components.

2016-09-12 Thread Chetan Mehrotra
instance with service registry and it would be picked up and for non external event CommitInfo would be present Chetan Mehrotra

Re: CommitHooks as OSGi Components.

2016-09-12 Thread Chetan Mehrotra
On Mon, Sep 12, 2016 at 2:08 PM, Ian Boston wrote: > Unfortunately the IndexProvider route doesn't appear give me the > information I am after (CommitInfo). Any details around intended usage? CommitInfo is now exposed via OAK-4642 to IndexEditorProvider Chetan Mehrotra

Re: [observation] pure internal or external listeners

2016-09-02 Thread Chetan Mehrotra
6-L] = [NS4, NS6] (can be treated as local with loss of user identity which caused the change) [NS2-L, NS3]+ [NS3, NS4-L] = [NS2-L, NS4-L] (cannot be treated as local) Just thinking out loud here to understand the problem space better :) Chetan Mehrotra

Re: RepositorySidegrade and commit hooks

2016-08-19 Thread Chetan Mehrotra
Thanks Tomek for confirmation. Opened OAK-4684 to track that Chetan Mehrotra On Fri, Aug 19, 2016 at 3:52 PM, Tomek Rekawek wrote: > Hi Chetan, > > yes, it seems that this has been overlooked in the OAK-3239 (porting the > —include-paths support from RepositoryUpgrade). Feel free

Re: RepositorySidegrade and commit hooks

2016-08-19 Thread Chetan Mehrotra
paths (property index, permission store entries) do not get updated and that would result in inconsistent state Chetan Mehrotra On Fri, Aug 19, 2016 at 1:59 PM, Alex Parvulescu wrote: > Hi, > > I don't think any extra hooks are needed here. Sidegrade is just a change > in persis

RepositorySidegrade and commit hooks

2016-08-18 Thread Chetan Mehrotra
configure same set of hooks? Chetan Mehrotra

Re: Help with unit tests for JMX stats for S3DataStore

2016-08-18 Thread Chetan Mehrotra
registered MBean services. For an example have a look at SegmentNodeStoreServiceTest which uses OSGi mocks to activate the service and then pick up the registered services to do the assertion Chetan Mehrotra On Fri, Aug 19, 2016 at 6:14 AM, Matt Ryan wrote: > Hi, > > I’m working on a

Re: normalising the rdb database schema

2016-08-16 Thread Chetan Mehrotra
part of db row are always read as a whole. Chetan Mehrotra [1] https://issues.apache.org/jira/browse/OAK-4471 [2] http://www.ibm.com/developerworks/data/library/techarticle/dm-1306nosqlforjson1/ [3] https://msdn.microsoft.com/en-in/library/dn921897.aspx [4] https://docs.oracle.com/database/121/ADX

Re: Oak Indexing. Was Re: Property index replacement / evolution

2016-08-12 Thread Chetan Mehrotra
ed on old state QE would filter it out if it does not match the criteria per current repository state. So aim here is to have index provide a super set of result set. In all this async index logic remains same (single threaded) and based on diff. So it would remain consistent with repository state

Re: Oak Indexing. Was Re: Property index replacement / evolution

2016-08-11 Thread Chetan Mehrotra
ess. It needs to be ensured that for concurrent commit end result in index is in sync with repository state. Current single thread async index update avoid all such race condition. Chetan Mehrotra

Re: Oak Indexing. Was Re: Property index replacement / evolution

2016-08-11 Thread Chetan Mehrotra
ion. This would also allow to reuse most of testcase we have in oak-lucene Chetan Mehrotra [2] https://github.com/ieb/oak-es/blob/master/src/main/java/org/apache/jackrabbit/oak/plusing/index/es/index/take2/ESIndexEditorContext.java On Thu, Aug 11, 2016 at 3:40 PM, Chetan Mehrotra wrote: > On Th

Re: Oak Indexing. Was Re: Property index replacement / evolution

2016-08-11 Thread Chetan Mehrotra
d eventually catch up with the current repository state and hence would not require complete rebuild of index in case of unclean shutdowns Chetan Mehrotra

Re: Oak Indexing. Was Re: Property index replacement / evolution

2016-08-11 Thread Chetan Mehrotra
and still allow plugging in Solr/ES for large deployment and there also provide a choice to admin to configure a sub set of index for such usage depending on the size. Chetan Mehrotra On Thu, Aug 11, 2016 at 1:59 PM, Ian Boston wrote: > Hi, > > On 11 August 2016 at 09:14, Michael Mar

Re: Usecases around Binary handling in Oak

2016-08-10 Thread Chetan Mehrotra
d then the external system can manage the GC Chetan Mehrotra On Wed, Aug 10, 2016 at 3:26 PM, Ian Boston wrote: > Hi, > > On 10 August 2016 at 10:29, Bertrand Delacretaz > wrote: > >> Hi, >> >> On Tue, Jul 26, 2016 at 4:36 PM, Bertrand Delacretaz >> wro

Re: Property index replacement / evolution

2016-08-07 Thread Chetan Mehrotra
Would add one more 4. Write throughput degradation - For non unique property index which make use of ContentMirrorStoreStrategy we have seen a loss in throughput due to contention which arise due to conflicts while entries are made in index. (OAK-2673, OAK-3380) Chetan Mehrotra On Fri, Aug 5

Re: Provide a way to pass indexing related state to IndexEditorProvider (OAK-4642)

2016-08-04 Thread Chetan Mehrotra
check if the callback implements this new interface and then cast it and access the context. So only those client which are interested in new capability make use of this === So provide your feedback there or in this thread Chetan Mehrotra On Thu, Aug 4, 2016 at 12:35 PM, Chetan Mehrotra wrote

Provide a way to pass indexing related state to IndexEditorProvider (OAK-4642)

2016-08-04 Thread Chetan Mehrotra
ble change Thoughts? Chetan Mehrotra

Re: Using same index definition for both async and sync indexing

2016-08-03 Thread Chetan Mehrotra
Opened OAK-4641 for this enhancement Chetan Mehrotra On Wed, Aug 3, 2016 at 8:00 PM, Chetan Mehrotra wrote: > On Wed, Aug 3, 2016 at 7:52 PM, Alex Parvulescu > wrote: >> sounds interesting, this looks like a good option. >> > > Now comes the hard part ... what should

<    1   2   3   4   5   6   7   8   >