Re: Way to capture metadata related to commit as part of CommitInfo from within CommitHook

2016-08-03 Thread Chetan Mehrotra
Opened OAK-4640 to track this Chetan Mehrotra On Wed, Aug 3, 2016 at 9:36 PM, Michael Dürig wrote: > > > On 3.8.16 5:58 , Chetan Mehrotra wrote: >> >> On Wed, Aug 3, 2016 at 8:57 PM, Michael Dürig wrote: >>> >>> I would suggest to add an new, in

Re: Way to capture metadata related to commit as part of CommitInfo from within CommitHook

2016-08-03 Thread Chetan Mehrotra
On Wed, Aug 3, 2016 at 8:57 PM, Michael Dürig wrote: > I would suggest to add an new, internal mechanism to CommitInfo for your > purpose. So introduce a new CommitAttributes instance which would be returned by CommitInfo ... ? Chetan Mehrotra

Re: Way to capture metadata related to commit as part of CommitInfo from within CommitHook

2016-08-03 Thread Chetan Mehrotra
That would depend on the CommitHook impl which client code would not be aware of. And commit hook would also know only as commit traversal is done. So it needs to be some mutable state Chetan Mehrotra On Wed, Aug 3, 2016 at 8:27 PM, Michael Dürig wrote: > > Couldn't we keep the ma

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

2016-08-03 Thread Chetan Mehrotra
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 be the name of this new interface ;) ContextualIndexEditorProvider? Chetan Mehrotra

Re: Way to capture metadata related to commit as part of CommitInfo from within CommitHook

2016-08-03 Thread Chetan Mehrotra
So would it be ok to make the map within CommitInfo mutable ? Chetan Mehrotra On Wed, Aug 3, 2016 at 7:29 PM, Michael Dürig wrote: > >> >> #A -Probably we can introduce a new type CommitAttributes which can be >> attached to CommitInfo and which can be modified by th

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

2016-08-03 Thread Chetan Mehrotra
ew interface would have the extra params passed in. And there we introduce something like IndexingContext which folds in IndexUpdateCallback, indexing mode, index path, CommitInfo etc Chetan Mehrotra

Way to capture metadata related to commit as part of CommitInfo from within CommitHook

2016-08-02 Thread Chetan Mehrotra
e accessed by Observer OR #B - We can just add a mutable attribute map to the CommitInfo instance and that can be populated by CommitHooks Thoughts on which approach to go forward Chetan Mehrotra

Using same index definition for both async and sync indexing

2016-08-02 Thread Chetan Mehrotra
a new interface for IndexEditorProvider. So looking for thoughts on how this can be implemented! Chetan Mehrotra [1] https://issues.apache.org/jira/browse/OAK-4412?focusedCommentId=15405340&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15405340 [2] Naming

Re: Why is nt:resource referencable?

2016-07-20 Thread Chetan Mehrotra
leVerionable change to NOT referenceable mix:versionable change to referenceable nt:frozenNode property jcr:frozenUuid change to NOT mandatory === Chetan Mehrotra [1] https://java.net/jira/browse/JSR_283-428

Re: Why is nt:resource referencable?

2016-07-20 Thread Chetan Mehrotra
ure if API semantics require that nodes lookedup by UUID have to be referenceable. For now I think oak:Resource is safest way. But just exploring other options if possible! Chetan Mehrotra

Re: Why is nt:resource referencable?

2016-07-20 Thread Chetan Mehrotra
d only on new node. Chetan Mehrotra [1] https://issues.apache.org/jira/browse/JCR-2170?focusedCommentId=12754941&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12754941

Re: Specifying threadpool name for periodic scheduled jobs (OAK-4563)

2016-07-19 Thread Chetan Mehrotra
e should be quick and non blocking though. All other task are much more critical for repository to function properly. Hence thoughts to go for #B where we have a dedicated pool for those 'n' tasks. Where n is much small i.e. number of async lanes + 2 from DocumentNodeStore so far. So its ea

Re: Specifying threadpool name for periodic scheduled jobs (OAK-4563)

2016-07-19 Thread Chetan Mehrotra
un in dedicated pool and each using same pool. Pool name would be 'oak'. Also see OAK-4563 for the patch While for #4 default pool would be used as those are non blocking and short tasks Chetan Mehrotra

Re: Specifying threadpool name for periodic scheduled jobs (OAK-4563)

2016-07-19 Thread Chetan Mehrotra
On Tue, Jul 19, 2016 at 12:54 PM, Michael Dürig wrote: > For blocking or time intensive tasks I would go for a dedicated thread pool. So wrt current issue that means option #B ? Chetan Mehrotra

Specifying threadpool name for periodic scheduled jobs (OAK-4563)

2016-07-18 Thread Chetan Mehrotra
should we use A - one single pool for all of the above B - use the pool only for 1-3. The default pool would be of 5. So even if #2 #3 are running it would not hamper #1 Assuming #4 is not that critical to run and may consist of lots of jobs. My suggestion would be to go for #B Chetan

Re: [proposal] New oak:Resource nodetype as alternative to nt:resource

2016-07-18 Thread Chetan Mehrotra
nging the current putFile implementation. Have it use oak:Resource is present otherwise fallback to nt:resource. This can lead to compatibility issue though as javadoc of putFile says it would use nt:resource Chetan Mehrotra

[proposal] New oak:Resource nodetype as alternative to nt:resource

2016-07-15 Thread Chetan Mehrotra
oak:Resource nodetype which is same as nt:resource but not referenceable. This would be similar to oak:Unstructured. Also what should we do for [1]. Should we provide an overloaded method which also accepts a nodetype for jcr:content node as it cannot use oak:Resource Chetan Mehrotra [1] https

Re: svn commit: r1752601 - in /jackrabbit/oak/trunk/oak-segment-tar: pom.xml src/main/java/org/apache/jackrabbit/oak/segment/SegmentWriter.java

2016-07-14 Thread Chetan Mehrotra
On Thu, Jul 14, 2016 at 2:04 PM, wrote: > > +commons-math3 commons-math is a 2.1 MB jar. Would it be possible to avoid embedding it whole and only have some parts embedded/copied. (See [1] for an example) Chetan Mehrotra [1]

Re: multilingual content and indexing

2016-07-12 Thread Chetan Mehrotra
to create an index >> definition if you add a new language tree. Another way would be to have your index definition under each node /content/en/oak:index/fooIndex /content/jp/oak:index/fooIndex And have each index config analyzer configured as per the language. Chetan Mehrotra

Re: svn commit: r1750809 - /jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LucenePropertyIndex.java

2016-06-30 Thread Chetan Mehrotra
reak this requirement Chetan Mehrotra

OAK-4475 - CI failing on branches due to unknown fixture SEGMENT_TAR

2016-06-29 Thread Chetan Mehrotra
d one in pom.xml is ignored. That would explain why settings in pom.xml are not used for fixture So what should we opt for #A? My vote would be for A1! Chetan Mehrotra [1] https://github.com/apache/jackrabbit-oak/commit/319433e9400429592065d4b3997dd31f93b6c549 [2] https://github.com/apache/jac

Re: svn commit: r1750601 - in /jackrabbit/oak/trunk: oak-segment-tar/ oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/ oak-segment-tar/src/test/java/org/apache/jackrabbit/oak/segment/

2016-06-29 Thread Chetan Mehrotra
unk (2 week) I do not think it should be a big problem and holding of commits break the continuity and increases work. But then that might be just an issue for me! For now I have reverted the changes from oak-segment-tar Chetan Mehrotra

Re: svn commit: r1750601 - in /jackrabbit/oak/trunk: oak-segment-tar/ oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/ oak-segment-tar/src/test/java/org/apache/jackrabbit/oak/segment/

2016-06-29 Thread Chetan Mehrotra
rsion once JR2 release is done. That has worked fine so far and we did not had to hold the feature work for that. So want to understand why it should be different here Chetan Mehrotra

[multiplex] - Review the proposed SPI interface MountInfoProvider and Mount for OAK-3404

2016-06-28 Thread Chetan Mehrotra
feedback on the issue. Chetan Mehrotra [1] https://github.com/rombert/jackrabbit-oak/tree/features/docstore-multiplex/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/mount

Re: [Oak origin/1.4] Apache Jackrabbit Oak matrix - Build # 992 - Still Failing

2016-06-28 Thread Chetan Mehrotra
Thanks for the link. Would followup on the issue and have it fixed in branches Chetan Mehrotra On Mon, Jun 27, 2016 at 5:11 PM, Julian Reschke wrote: > On 2016-06-27 13:31, Chetan Mehrotra wrote: >> >> On Sat, Jun 25, 2016 at 10:24 AM, Apache Jenkins Server >> wro

Re: [Oak origin/1.4] Apache Jackrabbit Oak matrix - Build # 992 - Still Failing

2016-06-27 Thread Chetan Mehrotra
; at > org.apache.jackrabbit.oak.commons.FixturesHelper$Fixture.valueOf(FixturesHelper.java:45) > at > org.apache.jackrabbit.oak.commons.FixturesHelper.(FixturesHelper.java:58) The test are failing due to above issue. Is this related to presence of new segment-tar module in trunk but not in branch? Chetan Mehrotra

Re: [VOTE] Release Apache Jackrabbit Oak 1.4.4

2016-06-26 Thread Chetan Mehrotra
On Mon, Jun 27, 2016 at 10:43 AM, Amit Jain wrote: [X] +1 Release this package as Apache Jackrabbit Oak 1.4.4 Chetan Mehrotra

Re: Requirement to support multiple NodeStore instance in same setup (OAK-4490)

2016-06-24 Thread Chetan Mehrotra
extension point Chetan Mehrotra On Wed, Jun 22, 2016 at 4:44 PM, Stefan Egli wrote: > On 22/06/16 12:21, "Chetan Mehrotra" wrote: > >>On Tue, Jun 21, 2016 at 4:52 PM, Julian Sedding >>wrote: >>> Not exposing the secondary NodeStore in the service registry would be

Re: Requirement to support multiple NodeStore instance in same setup (OAK-4490)

2016-06-22 Thread Chetan Mehrotra
client to select correct one Thoughts? Chetan Mehrotra

Requirement to support multiple NodeStore instance in same setup (OAK-4490)

2016-06-21 Thread Chetan Mehrotra
ry instance may get bound untill primary comes up Looking for feedback on what approach to take Chetan Mehrotra

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-06-01 Thread Chetan Mehrotra
I have started a new mail thread around "Usecases around Binary handling in Oak" so as to first collect the kind of usecases we need to support. Once we decide that we can discuss the possible solution. So lets continue the discussion on that thread Chetan Mehrotra On Tue, May 17, 201

Usecases around Binary handling in Oak

2016-06-01 Thread Chetan Mehrotra
your feedback! Chetan Mehrotra [1] http://markmail.org/thread/6mq4je75p64c5nyn [2] https://wiki.apache.org/jackrabbit/JCR%20Binary%20Usecase

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-11 Thread Chetan Mehrotra
ases then we implement them. Let me know if more details are required. If required I can put it up on a wiki page also. Chetan Mehrotra [1] http://markmail.org/thread/6mq4je75p64c5nyn#query:+page:1+mid:zv5dzsgmoegupd7l+state:results

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-11 Thread Chetan Mehrotra
k/jcr/Jcr.java#L190 Chetan Mehrotra

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-09 Thread Chetan Mehrotra
we can safely expose this file which would allow layers above to avoid spooling the content again locally for processing. And with callback boundary we can later do required cleanup Chetan Mehrotra On Mon, May 9, 2016 at 7:15 PM, Chetan Mehrotra wrote: > Had an offline discussion with Mich

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-09 Thread Chetan Mehrotra
allow Oak to enforce some safeguards (more on that in next mail) and still allows the user to perform optimal binary processing Chetan Mehrotra

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-09 Thread Chetan Mehrotra
ile handle for later use Hopefully this should address some of the concerns raised in this thread. Looking forward to feedback :) Chetan Mehrotra On Mon, May 9, 2016 at 6:24 PM, Michael Dürig wrote: > > > On 9.5.16 11:43 , Chetan Mehrotra wrote: > >> To highlight - As m

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-09 Thread Chetan Mehrotra
oach that I can then suggest it people implement there own BlobStore (may be by extending ours) and provide this API there i.e. say which takes Blob id and provide the required details. This way we "outsource" the problem. Would that be acceptable? Chetan Mehrotra On Mon, May 9, 2016 at 2:28 PM

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-05 Thread Chetan Mehrotra
the attack vector which we are defending against. Chetan Mehrotra

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-05 Thread Chetan Mehrotra
ns that customer implements its very own DataStore like solution and all the application code do not make use of JCR Binary and instead use another service to resolve the references. This would greatly reduce the usefulness of JCR for asset heavy application which use JCR to manage binary content along with its metadata Chetan Mehrotra

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-05 Thread Chetan Mehrotra
original proposed approach in OAK-1963 was like that i.e. introduce this access method on BlobStore which works on reference. But in that case client code would need to deal with BlobStore API. In either case access to actual binary storage data would be required Chetan Mehrotra On Thu, May 5, 2016 a

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-05 Thread Chetan Mehrotra
is need for other place that can be introduced as a first class api Chetan Mehrotra

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-05 Thread Chetan Mehrotra
On Wed, May 4, 2016 at 10:07 PM, Ian Boston wrote: > If the File or URL is writable, will writing to the location cause issues > for Oak ? > Yes that would cause problem. Expectation here is that code using a direct location needs to behave responsibly. Chetan Mehrotra

API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-03 Thread Chetan Mehrotra
it at Oak level as Blob instance are currently not bound to any session. So proposal is to place this in 'org.apache.jackrabbit.oak.api' package Kindly provide your feedback! Also any suggestion/guidance around how the access control be implemented Chetan Mehrotra [1] http://www.ibm.com/de

Re: [VOTE] Please vote for the final name of oak-segment-next

2016-04-26 Thread Chetan Mehrotra
Missed sending nomination on earlier thread. If not late then one more proposal oak-segment-v2 This is somewhat similar to names used in Mongo mmapv1 and mmapv2. Chetan Mehrotra On Tue, Apr 26, 2016 at 2:32 PM, Tommaso Teofili wrote: > oak-segment-store +1 > > Regards, > To

Re: [VOTE] Release Apache Jackrabbit Oak 1.2.14

2016-04-19 Thread Chetan Mehrotra
On Wed, Apr 20, 2016 at 10:25 AM, Amit Jain wrote: > [ ] +1 Release this package as Apache Jackrabbit Oak 1.2.14 All checks ok Chetan Mehrotra

Re: svn commit: r1737349 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBConnectionHandler.java

2016-04-01 Thread Chetan Mehrotra
matter much as remote call would have much more overhead. Suggestion here was more to have a consistent way of doing such things but not a hard requirement per se ... Chetan Mehrotra

Re: svn commit: r1737349 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBConnectionHandler.java

2016-04-01 Thread Chetan Mehrotra
= PERFLOG.start(); Connection c = getDataSource().getConnection(); PERFLOG.end(start, 100, "Obtaining a new connection from {} ", ds); --- This would also avoid the call to System.currentTimeMillis() if debug log is not enabled Chetan Mehrotra

Re: Extracting subpaths from a DocumentStore repo

2016-03-29 Thread Chetan Mehrotra
you would not need to rely on Document details Chetan Mehrotra [1] https://jackrabbit.apache.org/oak/docs/migration.html

Re: [VOTE] Release Apache Jackrabbit Oak 1.4.1

2016-03-27 Thread Chetan Mehrotra
On Thu, Mar 24, 2016 at 8:02 PM, Davide Giannella wrote: > [ ] +1 Release this package as Apache Jackrabbit Oak 1.4.1 +1 (ALL CHECKS OK) Chetan Mehrotra

Re: parent pom env.OAK_INTEGRATION_TESTING

2016-03-22 Thread Chetan Mehrotra
On Tue, Mar 22, 2016 at 9:49 PM, Davide Giannella wrote: > I can't really recall why and if we use this. Its referred to in main README.md so as to allow a developer to always enable running of integration test Chetan Mehrotra

Re: [VOTE] Release Apache Jackrabbit Oak 1.4.0 (take 3)

2016-03-08 Thread Chetan Mehrotra
On Mon, Mar 7, 2016 at 4:21 PM, Davide Giannella wrote: > [ ] +1 Release this package as Apache Jackrabbit Oak 1.4.0 All check ok including integration tes [1] Chetan Mehrotra [1] Run check-release.sh with following mvn command mvn verify -fn -PintegrationTesting,unittesting,rdb-de

Re: oak-resilience

2016-03-07 Thread Chetan Mehrotra
Cool stuff Tomek! This was something which was discussed in last Oakathon so great to have a way to do resilience testing programatically. Would give it a try Chetan Mehrotra On Mon, Mar 7, 2016 at 1:49 PM, Stefan Egli wrote: > Hi Tomek, > > Would also be interesting to see the effe

Re: [1.4.0][blocked] oak-examples and circular dependencies on oak itself

2016-03-01 Thread Chetan Mehrotra
is get rid of oak.version and make use of project.version. Such a way should be similar to how oak-lucene depends on oak-core and hence should work Chetan Mehrotra

Re: testing blob equality

2016-02-29 Thread Chetan Mehrotra
raid that it would not work as expected. In JackrabbitNodeState#createBlob determining the contentIdentity involves determining the length. You can give org.apache.jackrabbit.oak.upgrade.blob.LengthCachingDataStore a try (See OAK-2882 for details) Chetan Mehrotra

Re: R: info about jackrabbitoak.

2016-02-24 Thread Chetan Mehrotra
the war access repository instance Chetan Mehrotra [1] https://github.com/apache/jackrabbit-oak/tree/trunk/oak-examples/webapp

Re: svn commit: r1728341 - /jackrabbit/oak/trunk/oak-segment/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentGraph.java

2016-02-05 Thread Chetan Mehrotra
On Fri, Feb 5, 2016 at 2:54 PM, Michael Dürig wrote: > There's always another library ;-) For utility stuff well almost ! Chetan Mehrotra

Re: svn commit: r1728341 - /jackrabbit/oak/trunk/oak-segment/src/main/java/org/apache/jackrabbit/oak/plugins/segment/SegmentGraph.java

2016-02-03 Thread Chetan Mehrotra
ntStackTrace(pw); > +return sw.toString(); > +} finally { > +pw.close(); > +} > } > + May be use com.google.common.base.Throwables#getStackTraceAsString Chetan Mehrotra

Re: svn commit: r1727311 - in /jackrabbit/oak/trunk/oak-core/src: main/java/org/apache/jackrabbit/oak/osgi/OsgiWhiteboard.java test/java/org/apache/jackrabbit/oak/osgi/OsgiWhiteboardTest.java

2016-01-29 Thread Chetan Mehrotra
On Fri, Jan 29, 2016 at 4:08 PM, Michael Dürig wrote: > > Shouldn't we make this volatile? Ack. Would do that Chetan Mehrotra

Re: JUnit tests with FileDataStore

2016-01-27 Thread Chetan Mehrotra
To make use of FileDataStore you would need to configure a SegmentNodeStore as MemoryNodeStore does not allow plugging in custom BlobStore Have a look at snippet [1] for a possible approach Chetan Mehrotra [1] https://gist.github.com/chetanmeh/6242d0a7fe421955d456 On Wed, Jan 27, 2016 at 6:42

Re: Issue using the text extraction with lucene

2016-01-24 Thread Chetan Mehrotra
ld not be added. The primary aim was to speed up indexing time in migration. Chetan Mehrotra

Re: Issue using the text extraction with lucene

2016-01-23 Thread Chetan Mehrotra
Oak uses 1.1 and CSVFormat.withIgnoreSurroundingSpaces is added in v1.1. We tested it earlier with Tika 1.6. So you can try adding commons-csv jar as the first one in the classpath java -cp commons-csv-1.1.jar:tika-app-1.11.jar:oak-run-1.2.4.jar Chetan Mehrotra [1]http://svn.apache.org/viewvc/tika/ta

Re: Restructure docs

2016-01-20 Thread Chetan Mehrotra
iting the changes over there make things faster. I mostly do partial commit i.e. only the modified page and it ha worked well. Changing of left side menu is not a very frequent task and for that I think doing full deploy of site is fine for now Chetan Mehrotra

Re: svn commit: r1725250 - in /jackrabbit/oak/trunk: oak-core/src/main/java/org/apache/jackrabbit/oak/ oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/atomic/ oak-core/src/test/java/org/apach

2016-01-18 Thread Chetan Mehrotra
et(); > +} > +}; > +} Just curious about use of above approach. Is it for keeping the dependencies as non static or using final instance variable? If you mark references as static then all those bind and unbind method would not be required as by the time component is active the dependencies would be set. Chetan Mehrotra

Re: svn commit: r1724598 - in /jackrabbit/oak/trunk/oak-core/src: main/java/org/apache/jackrabbit/oak/api/ main/java/org/apache/jackrabbit/oak/plugins/document/rdb/ main/java/org/apache/jackrabbit/oak

2016-01-14 Thread Chetan Mehrotra
oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/value/BinaryImpl.java I see some changes to Blob/BinaryImpl. Are those change related to this issue? Most likely look like a noise but just wanted to confirm Chetan Mehrotra

Re: [Oak origin/trunk] Apache Jackrabbit Oak matrix - Build # 653 - Failure

2016-01-05 Thread Chetan Mehrotra
available in oak-jcr. Added it as a test dependency to see if this gets resolved Chetan Mehrotra

Re: svn commit: r1722496 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/xml/ImporterImpl.java

2016-01-04 Thread Chetan Mehrotra
s because `getDefinition(parent).isProtected()` has a side of effect of triggering an exception. With above code change that call is not made if 'pnImporter' is null and thus causes a change in behaviour. So better to revert that change. Chetan Mehrotra

JIRA issue not showing associated commits

2016-01-03 Thread Chetan Mehrotra
got lost. Chetan Mehrotra

Re: [Oak origin/trunk] Apache Jackrabbit Oak matrix - Build # 634 - Still Failing

2015-12-16 Thread Chetan Mehrotra
ion involve Chetan Mehrotra [1] https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/634/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=SEGMENT_MK,profile=unittesting/console

Re: [Oak origin/trunk] Apache Jackrabbit Oak matrix - Build # 634 - Still Failing

2015-12-16 Thread Chetan Mehrotra
t failures are in new Facet tests @Tommaso - Can you have a look Chetan Mehrotra

Re: Missing SessionStatistics Mbeans

2015-12-16 Thread Chetan Mehrotra
Hi Marc, Thanks for reporting this. It looks like a regression due to changes done for OAK-3477 (affect 1.3.11). Opened OAK-3802 for that. Chetan Mehrotra On Wed, Dec 16, 2015 at 9:51 PM, Marc Pfaff wrote: > Hi > > Using oak-1.3.11.r1716789, I have a situation, where I see th

Re: Remove/Disable ordered property indexes in trunk

2015-12-11 Thread Chetan Mehrotra
On Thu, Dec 10, 2015 at 7:43 PM, Davide Giannella wrote: > Can any of you please file an issue and assign it to myself? Done with OAK-3768 Chetan Mehrotra

Re: Oak crypto API

2015-12-10 Thread Chetan Mehrotra
pted key is created and managed is not a concern for Oak logic. For Oak it just need a way to get plain text credential given some opaque key data. Any method related to encrypting would not be used by other part of Oak so need not be part of API which we expose as extension point Chetan Mehrotra

Remove/Disable ordered property indexes in trunk

2015-12-10 Thread Chetan Mehrotra
be performed (say some change which touch all indexes) Thoughts? Chetan Mehrotra

Re: Oak crypto API

2015-12-09 Thread Chetan Mehrotra
t as part of API which needs to be used by Oak code. The encryption method can be part of implementation such that testcase can make use of that to create test data. Depending on embedding application how the encrypted data is created might vary so making that method part of API may pose some prob

Re: svn commit: r1718848 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/state/NodeStateUtils.java

2015-12-09 Thread Chetan Mehrotra
> +} > + May be use com.google.common.base.Strings#repeat? Chetan Mehrotra

Re: fixVersions in jira

2015-12-09 Thread Chetan Mehrotra
e some of us follow is to add label candidate_oak_1_0 or candidate_oak_1_2. See [1] for some earlier discussion around this Chetan Mehrotra [1] http://markmail.org/thread/7sbse6lpgxaqgplv

Re: [VOTE] Release Apache Jackrabbit Oak 1.0.25

2015-12-07 Thread Chetan Mehrotra
On Tue, Dec 8, 2015 at 10:43 AM, Amit Jain wrote: > [X] +1 Release this package as Apache Jackrabbit Oak 1.0.25 Chetan Mehrotra

Re: Lucene index speed

2015-12-07 Thread Chetan Mehrotra
; me that they should. Checkpoint are not meant to prevent contention. AsyncIndexer has an inbuilt "lease" support to prevent concurrent runs but there have been some issues like OAK-3436 which can result in complete reindexing at times! They should be addressed soon Chetan Mehrotra [1]

Re: Lucene index speed

2015-12-07 Thread Chetan Mehrotra
ts own (@Stefan thoughts?). But as of now this is not possible. So only way out currently is to provide your own Whiteboard implementation which can handle such kind of singleton scheduled jobs. Doing this is certainly non trivial! Chetan Mehrotra [1] https://github.com/apache/jackrabbit-oak/blob/tru

Re: Safe read after write

2015-12-07 Thread Chetan Mehrotra
es for sleep again. Such retry can be done for 'n' times before giving up Chetan Mehrotra [1] https://jackrabbit.apache.org/api/2.1/org/apache/jackrabbit/api/observation/JackrabbitEvent.html#isExternal()

Re: Safe read after write

2015-12-07 Thread Chetan Mehrotra
a message queue) and then other cluster nodes reacts to that then there is a chance that such a change would not have became visible on that cluster node. Currently there is no deterministic way other than introducing polling as part of queue consumer logic Chetan Mehrotra On Mon, Dec 7, 2015

Re: New Oak Example - Standalone Runnable Example based on Spring Boot

2015-12-06 Thread Chetan Mehrotra
it can be looked into Chetan Mehrotra

Re: Lucent index speed

2015-12-06 Thread Chetan Mehrotra
Hi Jim, How does the indexing performs if you say just run a single webapp node? Chetan Mehrotra On Sat, Dec 5, 2015 at 7:18 AM, Jim.Tully wrote: > We are using Oak embedded in a web application, and are now experiencing > significant delays in async indexing. New nodes added are som

Re: Safe read after write

2015-12-06 Thread Chetan Mehrotra
Does the above setup involves multiple Oak instances (say in separate JVM) or message producer and consumer of queue are use same Oak instance? Chetan Mehrotra On Thu, Dec 3, 2015 at 8:33 PM, wrote: > I am using Oak with a DocumentNodeStore. I am storing content then adding a > messag

Re: [Oak origin/trunk] Apache Jackrabbit Oak matrix - Build # 586 - Failure

2015-12-03 Thread Chetan Mehrotra
The failure was in the execution of test in new oak-standalone module as some of the dependencies are only compatible with JDK 7. Skipped execution of test with 1717897 Chetan Mehrotra On Fri, Dec 4, 2015 at 10:14 AM, Apache Jenkins Server wrote: > The Apache Jenkins build system has bu

New Oak Example - Standalone Runnable Example based on Spring Boot

2015-12-03 Thread Chetan Mehrotra
, Integrated with Felix WebConsole and Script Console Kindly give the example a try and provide your valuable feedback! Chetan Mehrotra [1] https://github.com/apache/jackrabbit-oak/tree/trunk/oak-examples/standalone

Re: [Oak origin/trunk] Apache Jackrabbit Oak matrix - Build # 582 - Still Failing

2015-12-02 Thread Chetan Mehrotra
at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.assertTrue(Assert.java:41) > at > org.apache.jackrabbit.oak.plugins.document.ManyChildNodesTest.manyChildNodes(ManyChildNodesTest.java:63) Apart from intermittent Solr test failure the above is a new one. Opened OAK-3719 for that Chetan Mehrotra

Re: Multiplexing Document Store

2015-12-02 Thread Chetan Mehrotra
aware of multiplexing logic. May be I am missing something here? Chetan Mehrotra

Re: Multiplexing Document Store

2015-12-01 Thread Chetan Mehrotra
ntNodeStore the multiplexing breaks down. > Code that reads and writes to /jcr:system/** does this. Can you provide a testcase on Robert's branch illustrating the problem? That would help to understand the problem you are facing better Chetan Mehrotra On Fri, Oct 30, 2015 at 4:32 PM, Ian Bost

Re: Connect to remote repo with oak ?

2015-12-01 Thread Chetan Mehrotra
On Tue, Dec 1, 2015 at 3:26 PM, Rino van Wijngaarden wrote: > But this gives problems in osgi, so how do i do this with oak? What is the problem and how are you running Oak. Is it via Sling? Chetan Mehrotra

Re: BasicDocumentStore.testInterestingStrings failure on MongoDB after OAK-3651

2015-11-26 Thread Chetan Mehrotra
try would be fetched from cache itself. Now with above change the cache actually gets invalidated and hence the issue surfaces. So may be a real issue Chetan Mehrotra On Thu, Nov 26, 2015 at 4:35 PM, Robert Munteanu wrote: > Hi, > > I get consistent test failures on MongoDB ( 2.6

Re: [discuss] persisting cluster (view) id for discovery-lite-descriptor

2015-11-26 Thread Chetan Mehrotra
e also in mind Chetan Mehrotra

Re: [discuss] persisting cluster (view) id for discovery-lite-descriptor

2015-11-25 Thread Chetan Mehrotra
id using File based approach. This would reduce operational complexity Chetan Mehrotra On Wed, Nov 25, 2015 at 6:23 PM, Stefan Egli wrote: > Right, I'm not sure it is indeed a requirement. But without automatic > support it might get forgotten and thus the cluster id would

Re: [discuss] persisting cluster (view) id for discovery-lite-descriptor

2015-11-25 Thread Chetan Mehrotra
cases we can allow passing the id as a system/framework property also Chetan Mehrotra

Re: svn commit: r1715773 [1/2] - in /jackrabbit/oak/trunk: oak-core/ oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/metric/ oak-core/src/main/java/org/apache/jackrabbit/oak/spi/whiteboard/ o

2015-11-24 Thread Chetan Mehrotra
Removed the method with 1716101 Chetan Mehrotra On Tue, Nov 24, 2015 at 2:45 PM, Michael Dürig wrote: > > > On 24.11.15 10:09 , Chetan Mehrotra wrote: >> >> On Tue, Nov 24, 2015 at 2:35 PM, Michael Dürig wrote: >>> >>> I'd rather remove the method

Re: Test failures in o.a.j.o.spi.whiteboard.WhiteboardUtilsTest

2015-11-24 Thread Chetan Mehrotra
Looks like on JDK 8 the MBean interface has to be public for MBean registration to work. Done that with 1716110 @Francesco - Can you try again with updated trunk? Chetan Mehrotra On Tue, Nov 24, 2015 at 4:58 PM, Chetan Mehrotra wrote: > On Tue, Nov 24, 2015 at 4:36 PM, Francesco Mari >

Re: Test failures in o.a.j.o.spi.whiteboard.WhiteboardUtilsTest

2015-11-24 Thread Chetan Mehrotra
On Tue, Nov 24, 2015 at 4:36 PM, Francesco Mari wrote: > Maven home: /usr/local/Cellar/maven32/3.2.5/libexec > Java version: 1.8.0_65, vendor: Oracle Corporation I am on JDK 1.7.0_55 and there it passes. Would try it on JDK 8 Chetan Mehrotra

Re: [jira] [Updated] (OAK-3632) Incorrect Value Conversion upon Node.setProperty and Node.setValue

2015-11-24 Thread Chetan Mehrotra
On Tue, Nov 24, 2015 at 2:55 PM, Marcel Reutegger wrote: > I quickly checked JIRA and it seems we can also 'unrelease' > a version if needed. > > What do others think? Should we changed the release process [0] > accordingly? +1 Chetan Mehrotra

Re: svn commit: r1715773 [1/2] - in /jackrabbit/oak/trunk: oak-core/ oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/metric/ oak-core/src/main/java/org/apache/jackrabbit/oak/spi/whiteboard/ o

2015-11-24 Thread Chetan Mehrotra
deprecated so would that needs to be done. Chetan Mehrotra

<    1   2   3   4   5   6   7   8   >