[jira] [Assigned] (OAK-10107) update javdoc of class org.apache.jackrabbit.oak.plugins.nodetype.write.ReadWriteNodeTypeManager

2023-02-07 Thread Angela Schreiber (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-10107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Angela Schreiber reassigned OAK-10107:
--

Assignee: Angela Schreiber

> update javdoc of class 
> org.apache.jackrabbit.oak.plugins.nodetype.write.ReadWriteNodeTypeManager
> 
>
> Key: OAK-10107
> URL: https://issues.apache.org/jira/browse/OAK-10107
> Project: Jackrabbit Oak
>  Issue Type: Documentation
>  Components: core, docs
>Reporter: Juerg Meier
>Assignee: Angela Schreiber
>Priority: Minor
>
> javadoc requires update as it currently inherits from 
> [ReadOnlyNodeTypeManager|https://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/oak/plugins/nodetype/ReadOnlyNodeTypeManager.html].
> Consequently, methods registerNodeType() and unregisterNodeType() are said to 
> throw an UnsupportedRepositoryOperationException, which is not the case. This 
> methods work according to the JCR spec.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (OAK-10107) update javdoc of class org.apache.jackrabbit.oak.plugins.nodetype.write.ReadWriteNodeTypeManager

2023-02-07 Thread Angela Schreiber (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-10107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Angela Schreiber updated OAK-10107:
---
Component/s: core

> update javdoc of class 
> org.apache.jackrabbit.oak.plugins.nodetype.write.ReadWriteNodeTypeManager
> 
>
> Key: OAK-10107
> URL: https://issues.apache.org/jira/browse/OAK-10107
> Project: Jackrabbit Oak
>  Issue Type: Documentation
>  Components: core, docs
>Reporter: Juerg Meier
>Priority: Minor
>
> javadoc requires update as it currently inherits from 
> [ReadOnlyNodeTypeManager|https://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/oak/plugins/nodetype/ReadOnlyNodeTypeManager.html].
> Consequently, methods registerNodeType() and unregisterNodeType() are said to 
> throw an UnsupportedRepositoryOperationException, which is not the case. This 
> methods work according to the JCR spec.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Comment Edited] (OAK-7182) Make it possible to update Guava

2023-02-07 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-7182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17684580#comment-17684580
 ] 

Julian Reschke edited comment on OAK-7182 at 2/7/23 6:40 PM:
-

h2. Roadmap (as of February 2023)
h3. OAK 1.48.0 (January 2023)
 - bump up default logging levels for deprecated APIs to "warn" (OAK-10047)

h3. OAK 1.50.0 (March 2023)
 - switch to Java 11 und use "forRemoval" deprecations for APIs exposing Guava 
(OAK-10007)
 - bump up default logging levels for deprecated APIs to "error" (OAK-10086)
 - Guava deprecations: set minimal logging level to 'info' (OAK-10105)
 - deprecate FileIOUtils.TransformingComparator with Guava Function parameter 
(OAK-10109) - unfortunately found just now

h3. OAK 1.52.0 (May 2023)
 - introduce wrapped Guava project for Oak-internal use (OAK-9989)
 - Guava deprecations: set minimal logging level to 'warn' (OAK-10106)

h3. OAK 1.54.0
 - remove deprecated APIs exposing Guava


was (Author: reschke):
h2. Roadmap (as of February 2023)

h3. OAK 1.48.0 (January 2023)

- bump up default logging levels for deprecated APIs to "warn" (OAK-10047)

h3. OAK 1.50.0 (March 2023)

- switch to Java 11 und use "forRemoval" deprecations for APIs exposing Guava 
(OAK-10007)
- bump up default logging levels for deprecated APIs to "error" (OAK-10086)
- Guava deprecations: set minimal logging level to 'info' (OAK-10105)

h3. OAK 1.52.0 (May 2023)

- introduce wrapped Guava project for Oak-internal use (OAK-9989)
- Guava deprecations: set minimal logging level to 'warn' (OAK-10106)

h3. OAK 1.54.0

- remove deprecated APIs exposing Guava





> Make it possible to update Guava
> 
>
> Key: OAK-7182
> URL: https://issues.apache.org/jira/browse/OAK-7182
> Project: Jackrabbit Oak
>  Issue Type: Wish
>Reporter: Julian Reschke
>Priority: Minor
> Attachments: GuavaTests.java, OAK-7182-guava-21-3.diff, 
> OAK-7182-guava-21-4.diff, OAK-7182-guava-21.diff, OAK-7182-guava-23.6.1.diff, 
> guava.diff
>
>
> We currently rely on Guava 15, and this affects all users of Oak because they 
> essentially need to use the same version.
> This is an overall issue to investigate what would need to be done in Oak in 
> order to make updates possible.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (OAK-10109) deprecate FileIOUtils.TransformingComparator with Guava Function parameter

2023-02-07 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-10109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-10109:
-
Fix Version/s: 1.50.0

> deprecate FileIOUtils.TransformingComparator with Guava Function parameter
> --
>
> Key: OAK-10109
> URL: https://issues.apache.org/jira/browse/OAK-10109
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: commons
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Major
> Fix For: 1.50.0
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (OAK-10109) deprecate FileIOUtils.TransformingComparator with Guava Function parameter

2023-02-07 Thread Julian Reschke (Jira)
Julian Reschke created OAK-10109:


 Summary: deprecate FileIOUtils.TransformingComparator with Guava 
Function parameter
 Key: OAK-10109
 URL: https://issues.apache.org/jira/browse/OAK-10109
 Project: Jackrabbit Oak
  Issue Type: Technical task
  Components: commons
Reporter: Julian Reschke
Assignee: Julian Reschke






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (OAK-10104) Extend version consistency check

2023-02-07 Thread Marcel Reutegger (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-10104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcel Reutegger resolved OAK-10104.

Fix Version/s: 1.50.0
   Resolution: Fixed

Merged the PR.

> Extend version consistency check
> 
>
> Key: OAK-10104
> URL: https://issues.apache.org/jira/browse/OAK-10104
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: run
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
> Fix For: 1.50.0
>
>
> The version consistency check in oak-run currently resolves jcr:baseVersion 
> and jcr:versionHistory references on versionable nodes and reports them when 
> the target node does not exist. The check should be enhanced to also check if 
> the target node has the expected jcr:uuid property value.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OAK-10104) Extend version consistency check

2023-02-07 Thread Marcel Reutegger (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-10104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17685335#comment-17685335
 ] 

Marcel Reutegger commented on OAK-10104:


Proposed improvement in 
[#844|https://github.com/apache/jackrabbit-oak/pull/844].

> Extend version consistency check
> 
>
> Key: OAK-10104
> URL: https://issues.apache.org/jira/browse/OAK-10104
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: run
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
>
> The version consistency check in oak-run currently resolves jcr:baseVersion 
> and jcr:versionHistory references on versionable nodes and reports them when 
> the target node does not exist. The check should be enhanced to also check if 
> the target node has the expected jcr:uuid property value.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Comment Edited] (OAK-7182) Make it possible to update Guava

2023-02-07 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-7182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17685308#comment-17685308
 ] 

Julian Reschke edited comment on OAK-7182 at 2/7/23 1:54 PM:
-

note to myself:
{noformat}
for i in $(find . -name "*.java" -exec grep -q com.google.common {} ";" 
-print); do  cat $i | sed "s/import com.google.common/import 
org.apache.jackrabbit.oak.guava.common/g" | sed "s/import static 
com.google.common/import static org.apache.jackrabbit.oak.guava.common/g" > 
replaced && mv replaced $i -v; done
 {noformat}


was (Author: reschke):
note to myself:
{noformat}
for i in $(find . -name "*.java" -exec grep -q com.google.common {} ";" 
-print); do  cat $i | sed "s/import com.google.common/import 
org.apache.jackrabbit.oak.guava.common/g" > replaced && mv replaced $i -v; done
{noformat}

> Make it possible to update Guava
> 
>
> Key: OAK-7182
> URL: https://issues.apache.org/jira/browse/OAK-7182
> Project: Jackrabbit Oak
>  Issue Type: Wish
>Reporter: Julian Reschke
>Priority: Minor
> Attachments: GuavaTests.java, OAK-7182-guava-21-3.diff, 
> OAK-7182-guava-21-4.diff, OAK-7182-guava-21.diff, OAK-7182-guava-23.6.1.diff, 
> guava.diff
>
>
> We currently rely on Guava 15, and this affects all users of Oak because they 
> essentially need to use the same version.
> This is an overall issue to investigate what would need to be done in Oak in 
> order to make updates possible.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OAK-7182) Make it possible to update Guava

2023-02-07 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-7182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17685308#comment-17685308
 ] 

Julian Reschke commented on OAK-7182:
-

note to myself:
{noformat}
for i in $(find . -name "*.java" -exec grep -q com.google.common {} ";" 
-print); do  cat $i | sed "s/import com.google.common/import 
org.apache.jackrabbit.oak.guava.common/g" > replaced && mv replaced $i -v; done
{noformat}

> Make it possible to update Guava
> 
>
> Key: OAK-7182
> URL: https://issues.apache.org/jira/browse/OAK-7182
> Project: Jackrabbit Oak
>  Issue Type: Wish
>Reporter: Julian Reschke
>Priority: Minor
> Attachments: GuavaTests.java, OAK-7182-guava-21-3.diff, 
> OAK-7182-guava-21-4.diff, OAK-7182-guava-21.diff, OAK-7182-guava-23.6.1.diff, 
> guava.diff
>
>
> We currently rely on Guava 15, and this affects all users of Oak because they 
> essentially need to use the same version.
> This is an overall issue to investigate what would need to be done in Oak in 
> order to make updates possible.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OAK-10102) Disable lazy index download by default

2023-02-07 Thread Joerg Hoh (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-10102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17685285#comment-17685285
 ] 

Joerg Hoh commented on OAK-10102:
-

Can we log a warn message if "Lazy Index Download" is enabled, and point to 
this ticket for further reference? This can help us to remove this redundant 
feature some time in the future.

> Disable lazy index download by default
> --
>
> Key: OAK-10102
> URL: https://issues.apache.org/jira/browse/OAK-10102
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: lucene, query
>Reporter: Thomas Mueller
>Assignee: Thomas Mueller
>Priority: Major
>
> I found that with the default settings (the system property 
> "oak.lucene.nonLazyIndex" not set), and a decent number of Lucene indexes, 
> each query that might use a Lucene index takes around 30 ms. With the 
> property set, each query takes only 2 ms or so.
> The lazy index download was meant to speed up startup, because only indexes 
> are downloaded that are actually needed. But on my side, I have disabled the 
> setting since then.
> I think it makes sense to set change the default value, like it was before. 
> So enable the system property  "oak.lucene.nonLazyIndex" by default.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OAK-10108) Build Jackrabbit/jackrabbit-oak-trunk #820 failed

2023-02-07 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-10108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17685279#comment-17685279
 ] 

Hudson commented on OAK-10108:
--

Previously failing build now is OK.
 Passed run: [Jackrabbit/jackrabbit-oak-trunk 
#821|https://ci-builds.apache.org/job/Jackrabbit/job/jackrabbit-oak-trunk/821/] 
[console 
log|https://ci-builds.apache.org/job/Jackrabbit/job/jackrabbit-oak-trunk/821/console]

> Build Jackrabbit/jackrabbit-oak-trunk #820 failed
> -
>
> Key: OAK-10108
> URL: https://issues.apache.org/jira/browse/OAK-10108
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration
>Reporter: Hudson
>Priority: Major
>
> No description is provided
> The build Jackrabbit/jackrabbit-oak-trunk #820 has failed.
> First failed run: [Jackrabbit/jackrabbit-oak-trunk 
> #820|https://ci-builds.apache.org/job/Jackrabbit/job/jackrabbit-oak-trunk/820/]
>  [console 
> log|https://ci-builds.apache.org/job/Jackrabbit/job/jackrabbit-oak-trunk/820/console]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Comment Edited] (OAK-7182) Make it possible to update Guava

2023-02-07 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-7182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17684580#comment-17684580
 ] 

Julian Reschke edited comment on OAK-7182 at 2/7/23 10:02 AM:
--

h2. Roadmap (as of February 2023)

h3. OAK 1.48.0 (January 2023)

- bump up default logging levels for deprecated APIs to "warn" (OAK-10047)

h3. OAK 1.50.0 (March 2023)

- switch to Java 11 und use "forRemoval" deprecations for APIs exposing Guava 
(OAK-10007)
- bump up default logging levels for deprecated APIs to "error" (OAK-10086)
- Guava deprecations: set minimal logging level to 'info' (OAK-10105)

h3. OAK 1.52.0 (May 2023)

- introduce wrapped Guava project for Oak-internal use (OAK-9989)
- Guava deprecations: set minimal logging level to 'warn' (OAK-10106)

h3. OAK 1.54.0

- remove deprecated APIs exposing Guava






was (Author: reschke):
h2. Roadmap (as of February 2023)

h3. OAK 1.48.0 (January 2023)

- bump up default logging levels for deprecated APIs to "warn" (OAK-10047)

h3. OAK 1.50.0 (March 2023)

- switch to Java 11 und use "forRemoval" deprecations for APIs exposing Guava 
(OAK-10007)
- bump up default logging levels for deprecated APIs to "error" (OAK-10086)

h3. OAK 1.52.0 (May 2023)

- introduce wrapped Guava project for Oak-internal use (OAK-9989)

h3. OAK 1.54.0

- remove deprecated APIs exposing Guava





> Make it possible to update Guava
> 
>
> Key: OAK-7182
> URL: https://issues.apache.org/jira/browse/OAK-7182
> Project: Jackrabbit Oak
>  Issue Type: Wish
>Reporter: Julian Reschke
>Priority: Minor
> Attachments: GuavaTests.java, OAK-7182-guava-21-3.diff, 
> OAK-7182-guava-21-4.diff, OAK-7182-guava-21.diff, OAK-7182-guava-23.6.1.diff, 
> guava.diff
>
>
> We currently rely on Guava 15, and this affects all users of Oak because they 
> essentially need to use the same version.
> This is an overall issue to investigate what would need to be done in Oak in 
> order to make updates possible.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (OAK-10105) Guava deprecations: set minimal logging level to 'info'

2023-02-07 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-10105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-10105:
-
Labels: candidate_oak_1_22  (was: )

> Guava deprecations: set minimal logging level to 'info'
> ---
>
> Key: OAK-10105
> URL: https://issues.apache.org/jira/browse/OAK-10105
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: commons, core, core-spi
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_22
> Fix For: 1.50.0
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OAK-10105) Guava deprecations: set minimal logging level to 'info'

2023-02-07 Thread Julian Reschke (Jira)


[ 
https://issues.apache.org/jira/browse/OAK-10105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17685180#comment-17685180
 ] 

Julian Reschke commented on OAK-10105:
--

trunk: 
[bff8f72e41|https://github.com/apache/jackrabbit-oak/commit/bff8f72e41763ffc9d0b2cd34756e41f40a17d8d]

> Guava deprecations: set minimal logging level to 'info'
> ---
>
> Key: OAK-10105
> URL: https://issues.apache.org/jira/browse/OAK-10105
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: commons, core, core-spi
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_22
> Fix For: 1.50.0
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (OAK-10105) Guava deprecations: set minimal logging level to 'info'

2023-02-07 Thread Julian Reschke (Jira)


 [ 
https://issues.apache.org/jira/browse/OAK-10105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke resolved OAK-10105.
--
Resolution: Fixed

> Guava deprecations: set minimal logging level to 'info'
> ---
>
> Key: OAK-10105
> URL: https://issues.apache.org/jira/browse/OAK-10105
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: commons, core, core-spi
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
> Fix For: 1.50.0
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)