[jira] [Commented] (OAK-2706) Apache rat plugin fails on Jenkins

2015-03-31 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388190#comment-14388190 ] Marcel Reutegger commented on OAK-2706: --- Rat complained about files in oak-mk-remote.

[jira] [Commented] (OAK-2706) Apache rat plugin fails on Jenkins

2015-03-31 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-2706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388201#comment-14388201 ] Michael Dürig commented on OAK-2706: Agreed, I removed the rat exclusion again and start

[jira] [Created] (OAK-2707) Performance: SessionImpl#getNamespacePrefixes should be cached

2015-03-31 Thread Joel Richard (JIRA)
Joel Richard created OAK-2707: - Summary: Performance: SessionImpl#getNamespacePrefixes should be cached Key: OAK-2707 URL: https://issues.apache.org/jira/browse/OAK-2707 Project: Jackrabbit Oak

[jira] [Updated] (OAK-2707) Performance: SessionImpl#getNamespacePrefixes should be cached

2015-03-31 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated OAK-2707: -- Attachment: Screen Shot 2015-03-30 at 08.38.58.png > Performance: SessionImpl#getNamespacePrefixes should

[jira] [Updated] (OAK-2707) Performance: SessionImpl#getNamespacePrefixes should be cached

2015-03-31 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated OAK-2707: -- Description: Sesison#getNamespacePrefixes is heavily used in Sling (see org.apache.sling.jcr.resource.Jcr

[jira] [Updated] (OAK-2707) Performance: SessionImpl#getNamespacePrefixes should be cached

2015-03-31 Thread Michael Marth (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Marth updated OAK-2707: --- Fix Version/s: 1.2 > Performance: SessionImpl#getNamespacePrefixes should be cached > --

[jira] [Commented] (OAK-2685) Track root state revision when reading the tree

2015-03-31 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388240#comment-14388240 ] Marcel Reutegger commented on OAK-2685: --- Work in progress is available in my github br

[jira] [Resolved] (OAK-2706) Apache rat plugin fails on Jenkins

2015-03-31 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-2706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dürig resolved OAK-2706. Resolution: Fixed Two subsequent runs without rat complaints. Assuming this is fixed thus. Thanks Mar

[jira] [Created] (OAK-2708) Enable CopyOnRead feature for Lucene indexes by default

2015-03-31 Thread Chetan Mehrotra (JIRA)
Chetan Mehrotra created OAK-2708: Summary: Enable CopyOnRead feature for Lucene indexes by default Key: OAK-2708 URL: https://issues.apache.org/jira/browse/OAK-2708 Project: Jackrabbit Oak Is

[jira] [Updated] (OAK-2708) Enable CopyOnRead feature for Lucene indexes by default

2015-03-31 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chetan Mehrotra updated OAK-2708: - Description: Oak Lucene provides a CopyOnRead [1] feature to enable usage of Lucene indexes from lo

[jira] [Commented] (OAK-2688) Segment.readString optimization

2015-03-31 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388405#comment-14388405 ] Joel Richard commented on OAK-2688: --- In my sampling profiling sessions about 5-15% of the

[jira] [Created] (OAK-2709) Misleading log message from IndexCopier

2015-03-31 Thread Marcel Reutegger (JIRA)
Marcel Reutegger created OAK-2709: - Summary: Misleading log message from IndexCopier Key: OAK-2709 URL: https://issues.apache.org/jira/browse/OAK-2709 Project: Jackrabbit Oak Issue Type: Bug

[jira] [Created] (OAK-2710) Utils.unshareString should not generate String instances unless needed

2015-03-31 Thread Robert Munteanu (JIRA)
Robert Munteanu created OAK-2710: Summary: Utils.unshareString should not generate String instances unless needed Key: OAK-2710 URL: https://issues.apache.org/jira/browse/OAK-2710 Project: Jackrabbit

[jira] [Updated] (OAK-2710) Utils.unshareString should not generate String instances unless needed

2015-03-31 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu updated OAK-2710: - Attachment: OAK-2710.patch > Utils.unshareString should not generate String instances unless needed

[jira] [Created] (OAK-2711) Troublesome AbstractTree.toString

2015-03-31 Thread angela (JIRA)
angela created OAK-2711: --- Summary: Troublesome AbstractTree.toString Key: OAK-2711 URL: https://issues.apache.org/jira/browse/OAK-2711 Project: Jackrabbit Oak Issue Type: Improvement Componen

[jira] [Updated] (OAK-2708) Enable CopyOnRead feature for Lucene indexes by default

2015-03-31 Thread Michael Marth (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Marth updated OAK-2708: --- Fix Version/s: 1.1.8 > Enable CopyOnRead feature for Lucene indexes by default > ---

[jira] [Updated] (OAK-2708) Enable CopyOnRead feature for Lucene indexes by default

2015-03-31 Thread Michael Marth (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Marth updated OAK-2708: --- Fix Version/s: (was: 1.1.8) > Enable CopyOnRead feature for Lucene indexes by default >

[jira] [Created] (OAK-2712) Possible null-dereference when calling ItemImpl#perform

2015-03-31 Thread angela (JIRA)
angela created OAK-2712: --- Summary: Possible null-dereference when calling ItemImpl#perform Key: OAK-2712 URL: https://issues.apache.org/jira/browse/OAK-2712 Project: Jackrabbit Oak Issue Type: Bug

[jira] [Updated] (OAK-2674) Fix FindBug Issues

2015-03-31 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated OAK-2674: Labels: technical_debt (was: ) > Fix FindBug Issues > -- > > Key: OAK-2674 >

[jira] [Assigned] (OAK-2709) Misleading log message from IndexCopier

2015-03-31 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chetan Mehrotra reassigned OAK-2709: Assignee: Chetan Mehrotra > Misleading log message from IndexCopier > ---

[jira] [Commented] (OAK-2709) Misleading log message from IndexCopier

2015-03-31 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388557#comment-14388557 ] Chetan Mehrotra commented on OAK-2709: -- Would change the level to debug and would expos

[jira] [Created] (OAK-2713) High memory usage of CompactionMap

2015-03-31 Thread JIRA
Michael Dürig created OAK-2713: -- Summary: High memory usage of CompactionMap Key: OAK-2713 URL: https://issues.apache.org/jira/browse/OAK-2713 Project: Jackrabbit Oak Issue Type: Improvement

[jira] [Updated] (OAK-2705) DefaultSyncHandler should use the principalName as a fallback when no externalId is available

2015-03-31 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated OAK-2705: Component/s: upgrade > DefaultSyncHandler should use the principalName as a fallback when no > externalId is availabl

[jira] [Commented] (OAK-2705) DefaultSyncHandler should use the principalName as a fallback when no externalId is available

2015-03-31 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388592#comment-14388592 ] angela commented on OAK-2705: - [~baedke], are you sure you really mean principalName? > Default

[jira] [Commented] (OAK-2707) Performance: SessionImpl#getNamespacePrefixes should be cached

2015-03-31 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388647#comment-14388647 ] angela commented on OAK-2707: - [~joelrich], do you have a oak specific benchmark that allowed us

[jira] [Updated] (OAK-2707) Performance: Consider cache for SessionImpl#getNamespacePrefixes

2015-03-31 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated OAK-2707: Summary: Performance: Consider cache for SessionImpl#getNamespacePrefixes (was: Performance: SessionImpl#getNamespace

[jira] [Updated] (OAK-2707) Performance: Consider cache for SessionImpl#getNamespacePrefixes

2015-03-31 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated OAK-2707: Fix Version/s: (was: 1.2) 1.3.0 > Performance: Consider cache for SessionImpl#getNamespacePrefi

[jira] [Commented] (OAK-2707) Performance: Consider cache for SessionImpl#getNamespacePrefixes

2015-03-31 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388650#comment-14388650 ] angela commented on OAK-2707: - btw: fix version 1.2 is totally unrealistic as we only will fix c

[jira] [Comment Edited] (OAK-2707) Performance: Consider cache for SessionImpl#getNamespacePrefixes

2015-03-31 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388647#comment-14388647 ] angela edited comment on OAK-2707 at 3/31/15 2:56 PM: -- [~joelrich], do

[jira] [Updated] (OAK-2641) FilterImpl violates nullability contract

2015-03-31 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated OAK-2641: Labels: technical_debt (was: ) > FilterImpl violates nullability contract >

[jira] [Commented] (OAK-2641) FilterImpl violates nullability contract

2015-03-31 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388719#comment-14388719 ] angela commented on OAK-2641: - [~tmueller], yes that would be good. IMO the second patch is bett

[jira] [Updated] (OAK-2641) FilterImpl violates nullability contract

2015-03-31 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated OAK-2641: Assignee: Thomas Mueller > FilterImpl violates nullability contract > - > >

[jira] [Commented] (OAK-2713) High memory usage of CompactionMap

2015-03-31 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-2713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388775#comment-14388775 ] Michael Dürig commented on OAK-2713: Looking at {{CompactionMap}} there is notthing much

[jira] [Commented] (OAK-2713) High memory usage of CompactionMap

2015-03-31 Thread Michael Marth (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14389106#comment-14389106 ] Michael Marth commented on OAK-2713: [~mduerig], option c): off-heap memory (like MapDB

[jira] [Commented] (OAK-2713) High memory usage of CompactionMap

2015-03-31 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-2713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14389260#comment-14389260 ] Michael Dürig commented on OAK-2713: I was actually counting this towards option b). How

[jira] [Commented] (OAK-2705) DefaultSyncHandler should use the principalName as a fallback when no externalId is available

2015-03-31 Thread Manfred Baedke (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14389286#comment-14389286 ] Manfred Baedke commented on OAK-2705: - Yes. In the LDAP case, that would just be the DN,

[jira] [Commented] (OAK-2705) DefaultSyncHandler should use the principalName as a fallback when no externalId is available

2015-03-31 Thread Tobias Bocanegra (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14389449#comment-14389449 ] Tobias Bocanegra commented on OAK-2705: --- not quite. the rep:externalId is a combinatio

[jira] [Commented] (OAK-2707) Performance: Consider cache for SessionImpl#getNamespacePrefixes

2015-03-31 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14390061#comment-14390061 ] Joel Richard commented on OAK-2707: --- [~anchela], no, I don't have a benchmark for it. The

[jira] [Commented] (OAK-2707) Performance: Consider cache for SessionImpl#getNamespacePrefixes

2015-03-31 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14390070#comment-14390070 ] Michael Dürig commented on OAK-2707: We should be *very* careful with adding ad-hoc cach

[jira] [Commented] (OAK-2707) Performance: Consider cache for SessionImpl#getNamespacePrefixes

2015-03-31 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14390085#comment-14390085 ] Joel Richard commented on OAK-2707: --- [~mduerig], Sling could definitely improve the cachin

[jira] [Commented] (OAK-2594) Backport spellcheck support to 1.0

2015-03-31 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14390092#comment-14390092 ] Marcel Reutegger commented on OAK-2594: --- Merged missing license header in SpellcheckHe

[jira] [Commented] (OAK-2707) Performance: Consider cache for SessionImpl#getNamespacePrefixes

2015-03-31 Thread Joel Richard (JIRA)
[ https://issues.apache.org/jira/browse/OAK-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14390099#comment-14390099 ] Joel Richard commented on OAK-2707: --- Most of the time in getNamespacePrefixes is spent in