[jira] [Commented] (OAK-7146) Build Jackrabbit Oak #1159 failed

2018-01-11 Thread Hudson (JIRA)

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

Hudson commented on OAK-7146:
-

Previously failing build now is OK.
 Passed run: [Jackrabbit Oak 
#1160|https://builds.apache.org/job/Jackrabbit%20Oak/1160/] [console 
log|https://builds.apache.org/job/Jackrabbit%20Oak/1160/console]

> Build Jackrabbit Oak #1159 failed
> -
>
> Key: OAK-7146
> URL: https://issues.apache.org/jira/browse/OAK-7146
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration
>Reporter: Hudson
>
> No description is provided
> The build Jackrabbit Oak #1159 has failed.
> First failed run: [Jackrabbit Oak 
> #1159|https://builds.apache.org/job/Jackrabbit%20Oak/1159/] [console 
> log|https://builds.apache.org/job/Jackrabbit%20Oak/1159/console]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (OAK-7147) Oak run LuceneIndexer indexes excluded parent nodes

2018-01-11 Thread Chetan Mehrotra (JIRA)

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

Chetan Mehrotra updated OAK-7147:
-
   Labels:   (was: candidate_oak_1_8)
Fix Version/s: 1.8.1

Merge
* 1.8 - 1820948

> Oak run LuceneIndexer indexes excluded parent nodes
> ---
>
> Key: OAK-7147
> URL: https://issues.apache.org/jira/browse/OAK-7147
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: indexing, run
>Affects Versions: 1.8.0
>Reporter: Chetan Mehrotra
>Assignee: Chetan Mehrotra
>Priority: Minor
> Fix For: 1.9.0, 1.10, 1.8.1
>
>
> {{LuceneIndexer}} currently indexes parent nodes which are not included by 
> includedPaths. This happens because the LuceneIndexer#index does not check 
> for path filter result and proceeds to index any node handed to it by the 
> DocumentStoreIndexer
> As a fix it should check if the filter result is PathFilter.Result.INCLUDE



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (OAK-7147) Oak run LuceneIndexer indexes excluded parent nodes

2018-01-11 Thread Chetan Mehrotra (JIRA)

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

Chetan Mehrotra updated OAK-7147:
-
Affects Version/s: 1.8.0

> Oak run LuceneIndexer indexes excluded parent nodes
> ---
>
> Key: OAK-7147
> URL: https://issues.apache.org/jira/browse/OAK-7147
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: indexing, run
>Affects Versions: 1.8.0
>Reporter: Chetan Mehrotra
>Assignee: Chetan Mehrotra
>Priority: Minor
> Fix For: 1.9.0, 1.10, 1.8.1
>
>
> {{LuceneIndexer}} currently indexes parent nodes which are not included by 
> includedPaths. This happens because the LuceneIndexer#index does not check 
> for path filter result and proceeds to index any node handed to it by the 
> DocumentStoreIndexer
> As a fix it should check if the filter result is PathFilter.Result.INCLUDE



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (OAK-7147) Oak run LuceneIndexer indexes excluded parent nodes

2018-01-11 Thread Chetan Mehrotra (JIRA)

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

Chetan Mehrotra resolved OAK-7147.
--
Resolution: Fixed

> Oak run LuceneIndexer indexes excluded parent nodes
> ---
>
> Key: OAK-7147
> URL: https://issues.apache.org/jira/browse/OAK-7147
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: indexing, run
>Reporter: Chetan Mehrotra
>Assignee: Chetan Mehrotra
>Priority: Minor
>  Labels: candidate_oak_1_8
> Fix For: 1.9.0, 1.10
>
>
> {{LuceneIndexer}} currently indexes parent nodes which are not included by 
> includedPaths. This happens because the LuceneIndexer#index does not check 
> for path filter result and proceeds to index any node handed to it by the 
> DocumentStoreIndexer
> As a fix it should check if the filter result is PathFilter.Result.INCLUDE



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (OAK-7147) Oak run LuceneIndexer indexes excluded parent nodes

2018-01-11 Thread Chetan Mehrotra (JIRA)

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

Chetan Mehrotra updated OAK-7147:
-
Fix Version/s: (was: 1.8.1)

> Oak run LuceneIndexer indexes excluded parent nodes
> ---
>
> Key: OAK-7147
> URL: https://issues.apache.org/jira/browse/OAK-7147
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: indexing, run
>Reporter: Chetan Mehrotra
>Assignee: Chetan Mehrotra
>Priority: Minor
>  Labels: candidate_oak_1_8
> Fix For: 1.9.0, 1.10
>
>
> {{LuceneIndexer}} currently indexes parent nodes which are not included by 
> includedPaths. This happens because the LuceneIndexer#index does not check 
> for path filter result and proceeds to index any node handed to it by the 
> DocumentStoreIndexer
> As a fix it should check if the filter result is PathFilter.Result.INCLUDE



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (OAK-7147) Oak run LuceneIndexer indexes excluded parent nodes

2018-01-11 Thread Chetan Mehrotra (JIRA)

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

Chetan Mehrotra updated OAK-7147:
-
Labels: candidate_oak_1_8  (was: )

> Oak run LuceneIndexer indexes excluded parent nodes
> ---
>
> Key: OAK-7147
> URL: https://issues.apache.org/jira/browse/OAK-7147
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: indexing, run
>Reporter: Chetan Mehrotra
>Assignee: Chetan Mehrotra
>Priority: Minor
>  Labels: candidate_oak_1_8
> Fix For: 1.9.0, 1.10
>
>
> {{LuceneIndexer}} currently indexes parent nodes which are not included by 
> includedPaths. This happens because the LuceneIndexer#index does not check 
> for path filter result and proceeds to index any node handed to it by the 
> DocumentStoreIndexer
> As a fix it should check if the filter result is PathFilter.Result.INCLUDE



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OAK-7147) Oak run LuceneIndexer indexes excluded parent nodes

2018-01-11 Thread Chetan Mehrotra (JIRA)

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

Chetan Mehrotra commented on OAK-7147:
--

Fixed with r1820947

> Oak run LuceneIndexer indexes excluded parent nodes
> ---
>
> Key: OAK-7147
> URL: https://issues.apache.org/jira/browse/OAK-7147
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: indexing, run
>Reporter: Chetan Mehrotra
>Assignee: Chetan Mehrotra
>Priority: Minor
> Fix For: 1.9.0, 1.10, 1.8.1
>
>
> {{LuceneIndexer}} currently indexes parent nodes which are not included by 
> includedPaths. This happens because the LuceneIndexer#index does not check 
> for path filter result and proceeds to index any node handed to it by the 
> DocumentStoreIndexer
> As a fix it should check if the filter result is PathFilter.Result.INCLUDE



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (OAK-7147) Oak run LuceneIndexer indexes excluded parent nodes

2018-01-11 Thread Chetan Mehrotra (JIRA)
Chetan Mehrotra created OAK-7147:


 Summary: Oak run LuceneIndexer indexes excluded parent nodes
 Key: OAK-7147
 URL: https://issues.apache.org/jira/browse/OAK-7147
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: indexing, run
Reporter: Chetan Mehrotra
Assignee: Chetan Mehrotra
Priority: Minor
 Fix For: 1.9.0, 1.10, 1.8.1


{{LuceneIndexer}} currently indexes parent nodes which are not included by 
includedPaths. This happens because the LuceneIndexer#index does not check for 
path filter result and proceeds to index any node handed to it by the 
DocumentStoreIndexer

As a fix it should check if the filter result is PathFilter.Result.INCLUDE



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (OAK-7146) Build Jackrabbit Oak #1159 failed

2018-01-11 Thread Hudson (JIRA)
Hudson created OAK-7146:
---

 Summary: Build Jackrabbit Oak #1159 failed
 Key: OAK-7146
 URL: https://issues.apache.org/jira/browse/OAK-7146
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: continuous integration
Reporter: Hudson


No description is provided

The build Jackrabbit Oak #1159 has failed.
First failed run: [Jackrabbit Oak 
#1159|https://builds.apache.org/job/Jackrabbit%20Oak/1159/] [console 
log|https://builds.apache.org/job/Jackrabbit%20Oak/1159/console]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (OAK-2907) Move DocumentMK to test

2018-01-11 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger resolved OAK-2907.
---
   Resolution: Fixed
Fix Version/s: 1.9.0

Moved the DocumentMK class to test sources: http://svn.apache.org/r1820899

> Move DocumentMK to test
> ---
>
> Key: OAK-2907
> URL: https://issues.apache.org/jira/browse/OAK-2907
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: documentmk
>Reporter: Thomas Mueller
>Assignee: Marcel Reutegger
>  Labels: technical_debt
> Fix For: 1.9.0, 1.10
>
>
> The DocumentMK class is not directly used (when using the JCR API), but it is 
> only really used by tests. So it should be moved to tests.
> The DocumentMK.Builder class needs to be moved first (to a top level class 
> for example).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OAK-7024) java.security.acl deprecated in Java 10, marked for removal in Java 11

2018-01-11 Thread angela (JIRA)

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

angela commented on OAK-7024:
-

[~stillalex], just had a first look and  i very much like the replacement that 
drops the writing methods. as far as backwards compatibility is concerned: 
instead of dropping support for the old methods including 
{{java.security.acl.Group}} right away we might want to choose an intermediate 
step still supporting it but marking it deprecated and log a warning if those 
methods are called. the downside is that we had to touch the code again... but 
it would be less disruptive and giving potential consumers some time to adjust 
their usages. wdyt? 

> java.security.acl deprecated in Java 10, marked for removal in Java 11
> --
>
> Key: OAK-7024
> URL: https://issues.apache.org/jira/browse/OAK-7024
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: security
>Reporter: Julian Reschke
>Assignee: Alex Deparvu
> Fix For: 1.10
>
>
> See  and 
> .
> Need to understand how this affects public Oak APIs, and what to do with them 
> on Java 11 (which will be an LTS release we probably need to support with Oak 
> 1.10).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (OAK-7145) Share initialized NodeStore for read-only repository tests

2018-01-11 Thread Marcel Reutegger (JIRA)
Marcel Reutegger created OAK-7145:
-

 Summary: Share initialized NodeStore for read-only repository tests
 Key: OAK-7145
 URL: https://issues.apache.org/jira/browse/OAK-7145
 Project: Jackrabbit Oak
  Issue Type: Test
  Components: jcr
Reporter: Marcel Reutegger
Assignee: Marcel Reutegger
Priority: Minor
 Fix For: 1.10


Some tests in oak-jcr only perform reads on a repository initialized by the 
test class. Instead of creating the repository for each method in the test 
class, the initialized repository could be reused. This speeds up test 
execution considerably.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OAK-7024) java.security.acl deprecated in Java 10, marked for removal in Java 11

2018-01-11 Thread Alex Deparvu (JIRA)

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

Alex Deparvu commented on OAK-7024:
---

WIP branch at [0]:
* patch makes no effort for maintaining backwards compatibility
* introduced {{GroupPrincipal}} interface, a read-only version of the original 
Group one, outside of a few tests, I could not find code that actually needs to 
call these methods
* added a new method to the {{PrincipalProvider}}: {{getGroupMembership2}}, 
name TBD, updated all code and tests to use this new method

The biggest issue now is to establish what type of backwards compatibility we 
need to offer here, how tight should the coupling between the 2 versions be, 
this is still WIP.

[0] https://github.com/apache/jackrabbit-oak/compare/trunk...stillalex:oak-7024

> java.security.acl deprecated in Java 10, marked for removal in Java 11
> --
>
> Key: OAK-7024
> URL: https://issues.apache.org/jira/browse/OAK-7024
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: security
>Reporter: Julian Reschke
>Assignee: Alex Deparvu
> Fix For: 1.10
>
>
> See  and 
> .
> Need to understand how this affects public Oak APIs, and what to do with them 
> on Java 11 (which will be an LTS release we probably need to support with Oak 
> 1.10).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OAK-7141) Remove unused metatype.properties

2018-01-11 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger commented on OAK-7141:
---

You are right, this was left behind when the DocumentNodeStore implementation 
was moved to its own module.

Removed the file: http://svn.apache.org/r1820888

> Remove unused metatype.properties
> -
>
> Key: OAK-7141
> URL: https://issues.apache.org/jira/browse/OAK-7141
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: core, documentmk
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
> Fix For: 1.10
>
>
> See also discussion in OAK-7138.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (OAK-7060) RDBDocumentStore.getStats() for SQLServer

2018-01-11 Thread Julian Reschke (JIRA)

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

Julian Reschke edited comment on OAK-7060 at 1/11/18 2:26 PM:
--

trunk: [r1820861|http://svn.apache.org/r1820861]
1.8: [r1820885|http://svn.apache.org/r1820885]



was (Author: reschke):
trunk: [r1820861|http://svn.apache.org/r1820861]


> RDBDocumentStore.getStats() for SQLServer
> -
>
> Key: OAK-7060
> URL: https://issues.apache.org/jira/browse/OAK-7060
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
> Fix For: 1.9.0, 1.10, 1.8.1
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (OAK-7060) RDBDocumentStore.getStats() for SQLServer

2018-01-11 Thread Julian Reschke (JIRA)

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

Julian Reschke updated OAK-7060:

Labels:   (was: candidate_oak_1_8)

> RDBDocumentStore.getStats() for SQLServer
> -
>
> Key: OAK-7060
> URL: https://issues.apache.org/jira/browse/OAK-7060
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
> Fix For: 1.9.0, 1.10, 1.8.1
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (OAK-7060) RDBDocumentStore.getStats() for SQLServer

2018-01-11 Thread Julian Reschke (JIRA)

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

Julian Reschke updated OAK-7060:

Fix Version/s: 1.8.1

> RDBDocumentStore.getStats() for SQLServer
> -
>
> Key: OAK-7060
> URL: https://issues.apache.org/jira/browse/OAK-7060
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
> Fix For: 1.9.0, 1.10, 1.8.1
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OAK-7141) Remove unused metatype.properties

2018-01-11 Thread Alex Deparvu (JIRA)

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

Alex Deparvu commented on OAK-7141:
---

[~mreutegg] Correct me if I'm wrong but the current {{metatype.properties}} 
file in {{oak-core}} [0] looks exactly like the one you deleted from 
{{oak-store-document}}, I think it was copied over. Could we delete the 
{{oak-core}} one too?

[0] 
https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/resources/OSGI-INF/metatype/metatype.properties

> Remove unused metatype.properties
> -
>
> Key: OAK-7141
> URL: https://issues.apache.org/jira/browse/OAK-7141
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: core, documentmk
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
> Fix For: 1.10
>
>
> See also discussion in OAK-7138.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (OAK-7107) Ability to run AbstractJCRTest derived tests with different fixtures

2018-01-11 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger resolved OAK-7107.
---
   Resolution: Fixed
Fix Version/s: 1.9.0

Implemented in trunk: http://svn.apache.org/r1820881

The backend can be controlled with the well-known system property 
{{-Dnsfixtures}}. The default  is {{SEGMENT_TAR}}.

> Ability to run AbstractJCRTest derived tests with different fixtures
> 
>
> Key: OAK-7107
> URL: https://issues.apache.org/jira/browse/OAK-7107
> Project: Jackrabbit Oak
>  Issue Type: Test
>  Components: jcr
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
> Fix For: 1.9.0, 1.10
>
>
> Tests in oak-jcr derived from AbstractJCRTest currently always run on 
> segment-tar. It would be good if those tests can also be used with other 
> backends like RDB and MongoDB.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (OAK-7142) RDBDocumentStoreDB: use try-with-resources in new code introduced for getStats()

2018-01-11 Thread Julian Reschke (JIRA)

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

Julian Reschke updated OAK-7142:

Labels: candidate_oak_1_8  (was: )

> RDBDocumentStoreDB: use try-with-resources in new code introduced for 
> getStats()
> 
>
> Key: OAK-7142
> URL: https://issues.apache.org/jira/browse/OAK-7142
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Trivial
>  Labels: candidate_oak_1_8
> Fix For: 1.9.0, 1.10
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (OAK-7142) RDBDocumentStoreDB: use try-with-resources in new code introduced for getStats()

2018-01-11 Thread Julian Reschke (JIRA)

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

Julian Reschke resolved OAK-7142.
-
   Resolution: Fixed
Fix Version/s: 1.10
   1.9.0

> RDBDocumentStoreDB: use try-with-resources in new code introduced for 
> getStats()
> 
>
> Key: OAK-7142
> URL: https://issues.apache.org/jira/browse/OAK-7142
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Trivial
>  Labels: candidate_oak_1_8
> Fix For: 1.9.0, 1.10
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (OAK-7142) RDBDocumentStoreDB: use try-with-resources in new code introduced for getStats()

2018-01-11 Thread Julian Reschke (JIRA)

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

Julian Reschke updated OAK-7142:

Summary: RDBDocumentStoreDB: use try-with-resources in new code introduced 
for getStats()  (was: RDBDocumentStoreDB: use try-with-resources in new code)

> RDBDocumentStoreDB: use try-with-resources in new code introduced for 
> getStats()
> 
>
> Key: OAK-7142
> URL: https://issues.apache.org/jira/browse/OAK-7142
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Trivial
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (OAK-7140) Retry query on MongoException

2018-01-11 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger resolved OAK-7140.
---
   Resolution: Fixed
Fix Version/s: 1.9.0

Implemented in trunk: http://svn.apache.org/r1820877

> Retry query on MongoException
> -
>
> Key: OAK-7140
> URL: https://issues.apache.org/jira/browse/OAK-7140
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: mongomk
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
> Fix For: 1.9.0, 1.10
>
>
> Similar to MongoDocumentStore.find() the implementation should retry calls to 
> MongoDB for query(). The most likely reasons for MongoExceptions from the 
> driver are crashed or suddenly stopped replica set members or temporary 
> network issues. Retrying the operation in these cases may hide the underlying 
> hiccup from the application.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Closed] (OAK-7144) Build Jackrabbit Oak #1156 failed

2018-01-11 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger closed OAK-7144.
-

> Build Jackrabbit Oak #1156 failed
> -
>
> Key: OAK-7144
> URL: https://issues.apache.org/jira/browse/OAK-7144
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration
>Reporter: Hudson
>
> No description is provided
> The build Jackrabbit Oak #1156 has failed.
> First failed run: [Jackrabbit Oak 
> #1156|https://builds.apache.org/job/Jackrabbit%20Oak/1156/] [console 
> log|https://builds.apache.org/job/Jackrabbit%20Oak/1156/console]
> {noformat}
> Build timed out (after 90 minutes). Marking the build as failed.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (OAK-7144) Build Jackrabbit Oak #1156 failed

2018-01-11 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger resolved OAK-7144.
---
Resolution: Duplicate

> Build Jackrabbit Oak #1156 failed
> -
>
> Key: OAK-7144
> URL: https://issues.apache.org/jira/browse/OAK-7144
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration
>Reporter: Hudson
>
> No description is provided
> The build Jackrabbit Oak #1156 has failed.
> First failed run: [Jackrabbit Oak 
> #1156|https://builds.apache.org/job/Jackrabbit%20Oak/1156/] [console 
> log|https://builds.apache.org/job/Jackrabbit%20Oak/1156/console]
> {noformat}
> Build timed out (after 90 minutes). Marking the build as failed.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (OAK-7144) Build Jackrabbit Oak #1156 failed

2018-01-11 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger updated OAK-7144:
--
Description: 
No description is provided

The build Jackrabbit Oak #1156 has failed.
First failed run: [Jackrabbit Oak 
#1156|https://builds.apache.org/job/Jackrabbit%20Oak/1156/] [console 
log|https://builds.apache.org/job/Jackrabbit%20Oak/1156/console]

{noformat}
Build timed out (after 90 minutes). Marking the build as failed.
{noformat}

  was:
No description is provided

The build Jackrabbit Oak #1156 has failed.
First failed run: [Jackrabbit Oak 
#1156|https://builds.apache.org/job/Jackrabbit%20Oak/1156/] [console 
log|https://builds.apache.org/job/Jackrabbit%20Oak/1156/console]


> Build Jackrabbit Oak #1156 failed
> -
>
> Key: OAK-7144
> URL: https://issues.apache.org/jira/browse/OAK-7144
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: continuous integration
>Reporter: Hudson
>
> No description is provided
> The build Jackrabbit Oak #1156 has failed.
> First failed run: [Jackrabbit Oak 
> #1156|https://builds.apache.org/job/Jackrabbit%20Oak/1156/] [console 
> log|https://builds.apache.org/job/Jackrabbit%20Oak/1156/console]
> {noformat}
> Build timed out (after 90 minutes). Marking the build as failed.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (OAK-7143) Run oak-jcr tests and ITs in parallel on travis-ci

2018-01-11 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger resolved OAK-7143.
---
   Resolution: Fixed
Fix Version/s: 1.9.0

Done in trunk: http://svn.apache.org/r1820876

> Run oak-jcr tests and ITs in parallel on travis-ci
> --
>
> Key: OAK-7143
> URL: https://issues.apache.org/jira/browse/OAK-7143
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: parent
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
> Fix For: 1.9.0, 1.10
>
>
> Running the build for oak-jcr on travis-ci is the most expensive module. We 
> get feedback more quickly when tests and ITs for oak-jcr are run in parallel.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (OAK-7126) make RDBCacheConsistency2Test store-agnostic

2018-01-11 Thread Julian Reschke (JIRA)

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

Julian Reschke edited comment on OAK-7126 at 1/11/18 1:14 PM:
--

trunk: [r1820661|http://svn.apache.org/r1820661]
1.8: [r1820743|http://svn.apache.org/r1820743]
1.6: [r1820752|http://svn.apache.org/r1820752]
1.4: [r1820756|http://svn.apache.org/r1820756]
1.2: [r1820856|http://svn.apache.org/r1820856]
1.0: [r1820874|http://svn.apache.org/r1820874]



was (Author: reschke):
trunk: [r1820661|http://svn.apache.org/r1820661]
1.8: [r1820743|http://svn.apache.org/r1820743]
1.6: [r1820752|http://svn.apache.org/r1820752]
1.4: [r1820756|http://svn.apache.org/r1820756]
1.2: [r1820856|http://svn.apache.org/r1820856]


> make RDBCacheConsistency2Test store-agnostic
> 
>
> Key: OAK-7126
> URL: https://issues.apache.org/jira/browse/OAK-7126
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: documentmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
> Fix For: 1.2.28, 1.9.0, 1.10, 1.4.20, 1.0.41, 1.8.1, 1.6.9
>
> Attachments: OAK-7126.diff
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (OAK-7144) Build Jackrabbit Oak #1156 failed

2018-01-11 Thread Hudson (JIRA)
Hudson created OAK-7144:
---

 Summary: Build Jackrabbit Oak #1156 failed
 Key: OAK-7144
 URL: https://issues.apache.org/jira/browse/OAK-7144
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: continuous integration
Reporter: Hudson


No description is provided

The build Jackrabbit Oak #1156 has failed.
First failed run: [Jackrabbit Oak 
#1156|https://builds.apache.org/job/Jackrabbit%20Oak/1156/] [console 
log|https://builds.apache.org/job/Jackrabbit%20Oak/1156/console]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (OAK-7126) make RDBCacheConsistency2Test store-agnostic

2018-01-11 Thread Julian Reschke (JIRA)

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

Julian Reschke updated OAK-7126:

Fix Version/s: 1.0.41

> make RDBCacheConsistency2Test store-agnostic
> 
>
> Key: OAK-7126
> URL: https://issues.apache.org/jira/browse/OAK-7126
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: documentmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
> Fix For: 1.2.28, 1.9.0, 1.10, 1.4.20, 1.0.41, 1.8.1, 1.6.9
>
> Attachments: OAK-7126.diff
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (OAK-7126) make RDBCacheConsistency2Test store-agnostic

2018-01-11 Thread Julian Reschke (JIRA)

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

Julian Reschke updated OAK-7126:

Labels:   (was: candidate_oak_1_0)

> make RDBCacheConsistency2Test store-agnostic
> 
>
> Key: OAK-7126
> URL: https://issues.apache.org/jira/browse/OAK-7126
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: documentmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
> Fix For: 1.2.28, 1.9.0, 1.10, 1.4.20, 1.0.41, 1.8.1, 1.6.9
>
> Attachments: OAK-7126.diff
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (OAK-7143) Run oak-jcr tests and ITs in parallel on travis-ci

2018-01-11 Thread Marcel Reutegger (JIRA)
Marcel Reutegger created OAK-7143:
-

 Summary: Run oak-jcr tests and ITs in parallel on travis-ci
 Key: OAK-7143
 URL: https://issues.apache.org/jira/browse/OAK-7143
 Project: Jackrabbit Oak
  Issue Type: Task
  Components: parent
Reporter: Marcel Reutegger
Assignee: Marcel Reutegger
Priority: Minor
 Fix For: 1.10


Running the build for oak-jcr on travis-ci is the most expensive module. We get 
feedback more quickly when tests and ITs for oak-jcr are run in parallel.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (OAK-7139) Wrap MongoException when query fails

2018-01-11 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger resolved OAK-7139.
---
   Resolution: Fixed
Fix Version/s: 1.9.0

Implemented in trunk: http://svn.apache.org/r1820871

> Wrap MongoException when query fails
> 
>
> Key: OAK-7139
> URL: https://issues.apache.org/jira/browse/OAK-7139
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: mongomk
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
> Fix For: 1.9.0, 1.10
>
>
> MongoDocumentStore.query() currently throws a MongoException when a query to 
> MongoDB fails. The implementation should rather throw a 
> DocumentStoreException and wrap the underlying MongoException.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (OAK-7142) RDBDocumentStoreDB: use try-with-resources in new code

2018-01-11 Thread Julian Reschke (JIRA)
Julian Reschke created OAK-7142:
---

 Summary: RDBDocumentStoreDB: use try-with-resources in new code
 Key: OAK-7142
 URL: https://issues.apache.org/jira/browse/OAK-7142
 Project: Jackrabbit Oak
  Issue Type: Technical task
  Components: rdbmk
Reporter: Julian Reschke
Assignee: Julian Reschke
Priority: Trivial






--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OAK-6373) oak-run check should also check checkpoints

2018-01-11 Thread Andrei Dulceanu (JIRA)

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

Andrei Dulceanu commented on OAK-6373:
--

I created this branch [0] for tracking work needed by this issue. So far I 
committed work related to accommodating the two new options (i.e. 
{{--checkpoints}} and {{--head}}). [~mduerig], [~frm], could you take a look at 
the changes? I will continue by adapting our old tests for {{check}} command 
and by adding new ones. Finally, the documentation will follow.

[0] https://github.com/dulceanu/jackrabbit-oak/tree/issues/OAK-6373

> oak-run check should also check checkpoints 
> 
>
> Key: OAK-6373
> URL: https://issues.apache.org/jira/browse/OAK-6373
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: run, segment-tar
>Reporter: Michael Dürig
>Assignee: Andrei Dulceanu
>  Labels: candidate_oak_1_8, tooling
> Fix For: 1.9.0, 1.10
>
>
> {{oak-run check}} does currently *not* traverse and check the items in the 
> checkpoint. I think we should change this and add an option to traverse all, 
> some or none of the checkpoints. When doing this we need to keep in mind the 
> interaction of this new feature with the {{filter}} option: the paths passed 
> through this option need then be prefixed with {{/root}}. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (OAK-7060) RDBDocumentStore.getStats() for SQLServer

2018-01-11 Thread Julian Reschke (JIRA)

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

Julian Reschke resolved OAK-7060.
-
   Resolution: Fixed
Fix Version/s: 1.10
   1.9.0

> RDBDocumentStore.getStats() for SQLServer
> -
>
> Key: OAK-7060
> URL: https://issues.apache.org/jira/browse/OAK-7060
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_8
> Fix For: 1.9.0, 1.10
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OAK-7060) RDBDocumentStore.getStats() for SQLServer

2018-01-11 Thread Julian Reschke (JIRA)

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

Julian Reschke commented on OAK-7060:
-

trunk: [r1820861|http://svn.apache.org/r1820861]


> RDBDocumentStore.getStats() for SQLServer
> -
>
> Key: OAK-7060
> URL: https://issues.apache.org/jira/browse/OAK-7060
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_8
> Fix For: 1.9.0, 1.10
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (OAK-7060) RDBDocumentStore.getStats() for SQLServer

2018-01-11 Thread Julian Reschke (JIRA)

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

Julian Reschke updated OAK-7060:

Labels: candidate_oak_1_8  (was: )

> RDBDocumentStore.getStats() for SQLServer
> -
>
> Key: OAK-7060
> URL: https://issues.apache.org/jira/browse/OAK-7060
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_8
> Fix For: 1.9.0, 1.10
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (OAK-7141) Remove unused metatype.properties

2018-01-11 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger updated OAK-7141:
--
Component/s: core

> Remove unused metatype.properties
> -
>
> Key: OAK-7141
> URL: https://issues.apache.org/jira/browse/OAK-7141
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: core, documentmk
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
> Fix For: 1.10
>
>
> See also discussion in OAK-7138.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OAK-7141) Remove unused metatype.properties

2018-01-11 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger commented on OAK-7141:
---

Removed metatype.properties in oak-store-document: 
http://svn.apache.org/r1820859

> Remove unused metatype.properties
> -
>
> Key: OAK-7141
> URL: https://issues.apache.org/jira/browse/OAK-7141
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: documentmk
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
> Fix For: 1.10
>
>
> See also discussion in OAK-7138.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (OAK-7141) Remove unused metatype.properties

2018-01-11 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger updated OAK-7141:
--
Summary: Remove unused metatype.properties  (was: Remove unused 
metatype.properties in oak-store-document)

> Remove unused metatype.properties
> -
>
> Key: OAK-7141
> URL: https://issues.apache.org/jira/browse/OAK-7141
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: documentmk
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
> Fix For: 1.10
>
>
> See also discussion in OAK-7138.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OAK-7138) Move metatype files in source control to correct location

2018-01-11 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger commented on OAK-7138:
---

bq. could this be merged into the cleanup effort of OAK-7141 or does it need a 
separate issue?

I'll change the issue to a generic cleanup effort. But I'd still prefer to have 
individual commits for the various affected modules. This will make it easier 
to backport if necessary.

> Move metatype files in source control to correct location
> -
>
> Key: OAK-7138
> URL: https://issues.apache.org/jira/browse/OAK-7138
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
> Fix For: 1.10, 1.8.1
>
>
> The following files should be stored under {{OSGI-INF/l10n}}:
> {noformat}find -name metatype.properties | grep -v target
> ./oak-core/src/main/resources/OSGI-INF/metatype/metatype.properties
> ./oak-store-document/src/main/resources/OSGI-INF/metatype/metatype.properties
> ./oak-segment-tar/src/main/resources/OSGI-INF/metatype/metatype.properties
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (OAK-7126) make RDBCacheConsistency2Test store-agnostic

2018-01-11 Thread Julian Reschke (JIRA)

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

Julian Reschke edited comment on OAK-7126 at 1/11/18 10:19 AM:
---

trunk: [r1820661|http://svn.apache.org/r1820661]
1.8: [r1820743|http://svn.apache.org/r1820743]
1.6: [r1820752|http://svn.apache.org/r1820752]
1.4: [r1820756|http://svn.apache.org/r1820756]
1.2: [r1820856|http://svn.apache.org/r1820856]



was (Author: reschke):
trunk: [r1820661|http://svn.apache.org/r1820661]
1.8: [r1820743|http://svn.apache.org/r1820743]
1.6: [r1820752|http://svn.apache.org/r1820752]
1.4: [r1820756|http://svn.apache.org/r1820756]


> make RDBCacheConsistency2Test store-agnostic
> 
>
> Key: OAK-7126
> URL: https://issues.apache.org/jira/browse/OAK-7126
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: documentmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_0
> Fix For: 1.2.28, 1.9.0, 1.10, 1.4.20, 1.8.1, 1.6.9
>
> Attachments: OAK-7126.diff
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (OAK-7126) make RDBCacheConsistency2Test store-agnostic

2018-01-11 Thread Julian Reschke (JIRA)

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

Julian Reschke updated OAK-7126:

Labels: candidate_oak_1_0  (was: candidate_oak_1_0 candidate_oak_1_2)

> make RDBCacheConsistency2Test store-agnostic
> 
>
> Key: OAK-7126
> URL: https://issues.apache.org/jira/browse/OAK-7126
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: documentmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_0
> Fix For: 1.2.28, 1.9.0, 1.10, 1.4.20, 1.8.1, 1.6.9
>
> Attachments: OAK-7126.diff
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (OAK-7126) make RDBCacheConsistency2Test store-agnostic

2018-01-11 Thread Julian Reschke (JIRA)

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

Julian Reschke updated OAK-7126:

Fix Version/s: 1.2.28

> make RDBCacheConsistency2Test store-agnostic
> 
>
> Key: OAK-7126
> URL: https://issues.apache.org/jira/browse/OAK-7126
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: documentmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Minor
>  Labels: candidate_oak_1_0
> Fix For: 1.2.28, 1.9.0, 1.10, 1.4.20, 1.8.1, 1.6.9
>
> Attachments: OAK-7126.diff
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OAK-7138) Move metatype files in source control to correct location

2018-01-11 Thread Alex Deparvu (JIRA)

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

Alex Deparvu commented on OAK-7138:
---

I think the same question applies to {{oak-core}} as well. looking at the 
properties file, at least some of the properties belong to components that 
moved out [0]. could this be merged into the cleanup effort of OAK-7141 or does 
it need a separate issue?

[0] 
https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/resources/OSGI-INF/metatype/metatype.properties

> Move metatype files in source control to correct location
> -
>
> Key: OAK-7138
> URL: https://issues.apache.org/jira/browse/OAK-7138
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
> Fix For: 1.10, 1.8.1
>
>
> The following files should be stored under {{OSGI-INF/l10n}}:
> {noformat}find -name metatype.properties | grep -v target
> ./oak-core/src/main/resources/OSGI-INF/metatype/metatype.properties
> ./oak-store-document/src/main/resources/OSGI-INF/metatype/metatype.properties
> ./oak-segment-tar/src/main/resources/OSGI-INF/metatype/metatype.properties
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (OAK-7141) Remove unused metatype.properties in oak-store-document

2018-01-11 Thread Marcel Reutegger (JIRA)
Marcel Reutegger created OAK-7141:
-

 Summary: Remove unused metatype.properties in oak-store-document
 Key: OAK-7141
 URL: https://issues.apache.org/jira/browse/OAK-7141
 Project: Jackrabbit Oak
  Issue Type: Technical task
  Components: documentmk
Reporter: Marcel Reutegger
Assignee: Marcel Reutegger
Priority: Minor
 Fix For: 1.10


See also discussion in OAK-7138.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OAK-7138) Move metatype files in source control to correct location

2018-01-11 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger commented on OAK-7138:
---

bq. compare the metatype.properties file from the old and new jars

I assume you rather mean "compare the metatype XML file from the old and new 
jars". The metatype *properties* file is only present in the old jar, which is 
wrong as you pointed out. The metatype XML file for the OCD Configuration is 
the same in the old and the new jar file.

So, to me it looks like the metatype.properties file is not needed anymore. 
I'll create a new sub-task for OAK-7136.

> Move metatype files in source control to correct location
> -
>
> Key: OAK-7138
> URL: https://issues.apache.org/jira/browse/OAK-7138
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
> Fix For: 1.10, 1.8.1
>
>
> The following files should be stored under {{OSGI-INF/l10n}}:
> {noformat}find -name metatype.properties | grep -v target
> ./oak-core/src/main/resources/OSGI-INF/metatype/metatype.properties
> ./oak-store-document/src/main/resources/OSGI-INF/metatype/metatype.properties
> ./oak-segment-tar/src/main/resources/OSGI-INF/metatype/metatype.properties
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OAK-7138) Move metatype files in source control to correct location

2018-01-11 Thread Robert Munteanu (JIRA)

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

Robert Munteanu commented on OAK-7138:
--

[~mreutegg] - I would

* build the jar once, store it somewhere
* remove the metatype.properties file from source control, build the jar again
* compare the metatype.properties file from the old and new jars

> Move metatype files in source control to correct location
> -
>
> Key: OAK-7138
> URL: https://issues.apache.org/jira/browse/OAK-7138
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
> Fix For: 1.10, 1.8.1
>
>
> The following files should be stored under {{OSGI-INF/l10n}}:
> {noformat}find -name metatype.properties | grep -v target
> ./oak-core/src/main/resources/OSGI-INF/metatype/metatype.properties
> ./oak-store-document/src/main/resources/OSGI-INF/metatype/metatype.properties
> ./oak-segment-tar/src/main/resources/OSGI-INF/metatype/metatype.properties
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (OAK-7138) Move metatype files in source control to correct location

2018-01-11 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger commented on OAK-7138:
---

Hmm, I'm wondering if at least the one in oak-store-document is still needed. 
The properties in there were introduced for the DocumentNodeStoreService, but 
now we use an ObjectClassDefinition with annotations 
({{org.apache.jackrabbit.oak.plugins.document.Configuration}}). How do I find 
out if the properties file is still needed?

> Move metatype files in source control to correct location
> -
>
> Key: OAK-7138
> URL: https://issues.apache.org/jira/browse/OAK-7138
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
> Fix For: 1.10, 1.8.1
>
>
> The following files should be stored under {{OSGI-INF/l10n}}:
> {noformat}find -name metatype.properties | grep -v target
> ./oak-core/src/main/resources/OSGI-INF/metatype/metatype.properties
> ./oak-store-document/src/main/resources/OSGI-INF/metatype/metatype.properties
> ./oak-segment-tar/src/main/resources/OSGI-INF/metatype/metatype.properties
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Assigned] (OAK-7138) Move metatype files in source control to correct location

2018-01-11 Thread Robert Munteanu (JIRA)

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

Robert Munteanu reassigned OAK-7138:


Assignee: Robert Munteanu

> Move metatype files in source control to correct location
> -
>
> Key: OAK-7138
> URL: https://issues.apache.org/jira/browse/OAK-7138
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
> Fix For: 1.10, 1.8.1
>
>
> The following files should be stored under {{OSGI-INF/l10n}}:
> {noformat}find -name metatype.properties | grep -v target
> ./oak-core/src/main/resources/OSGI-INF/metatype/metatype.properties
> ./oak-store-document/src/main/resources/OSGI-INF/metatype/metatype.properties
> ./oak-segment-tar/src/main/resources/OSGI-INF/metatype/metatype.properties
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Assigned] (OAK-7137) Upgrade to scr bnd plugin that places the metatype files in the correct location

2018-01-11 Thread Robert Munteanu (JIRA)

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

Robert Munteanu reassigned OAK-7137:


Assignee: Robert Munteanu

> Upgrade to scr bnd plugin that places the metatype files in the correct 
> location
> 
>
> Key: OAK-7137
> URL: https://issues.apache.org/jira/browse/OAK-7137
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
> Fix For: 1.10, 1.8.1
>
>
> This should be a simple upgrade, but blocked by FELIX-5771



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Assigned] (OAK-7136) Stop storing metatype.properties files under OSGI-INF/metatype

2018-01-11 Thread Robert Munteanu (JIRA)

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

Robert Munteanu reassigned OAK-7136:


Assignee: Robert Munteanu

> Stop storing metatype.properties files under OSGI-INF/metatype
> --
>
> Key: OAK-7136
> URL: https://issues.apache.org/jira/browse/OAK-7136
> Project: Jackrabbit Oak
>  Issue Type: Bug
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
> Fix For: 1.10, 1.8.1
>
>
> We are still storing metatype.properties files under OSGI-INF/metatype, which 
> is a spec violation. At the moment causes error log messages, e.g.
> {noformat}06.12.2017 10:12:04.091 *ERROR* [qtp1614077867-67] 
> org.apache.felix.metatype fromDocuments: Error accessing document 
> bundle://94.1:0/OSGI-INF/metatype/org.apache.jackrabbit.oak.security.authentication.ldap.impl.LdapProviderConfig.properties
>  : XML parsing exception while reading metadata: unterminated entity ref 
> (position:TEXT #Mon Dec 04 19:5...@2:202 in 
> bundle://94.1:0/OSGI-INF/metatype/org.apache.jackrabbit.oak.security.authentication.ldap.impl.LdapProviderConfig.properties)
>  {noformat}
> and is outright rejected by newer SCR tooling.
> We should move these files to {{OSGI-INF/l10n}} instead.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (OAK-7140) Retry query on MongoException

2018-01-11 Thread Marcel Reutegger (JIRA)
Marcel Reutegger created OAK-7140:
-

 Summary: Retry query on MongoException
 Key: OAK-7140
 URL: https://issues.apache.org/jira/browse/OAK-7140
 Project: Jackrabbit Oak
  Issue Type: Improvement
  Components: mongomk
Reporter: Marcel Reutegger
Assignee: Marcel Reutegger
Priority: Minor
 Fix For: 1.10


Similar to MongoDocumentStore.find() the implementation should retry calls to 
MongoDB for query(). The most likely reasons for MongoExceptions from the 
driver are crashed or suddenly stopped replica set members or temporary network 
issues. Retrying the operation in these cases may hide the underlying hiccup 
from the application.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (OAK-7139) Wrap MongoException when query fails

2018-01-11 Thread Marcel Reutegger (JIRA)
Marcel Reutegger created OAK-7139:
-

 Summary: Wrap MongoException when query fails
 Key: OAK-7139
 URL: https://issues.apache.org/jira/browse/OAK-7139
 Project: Jackrabbit Oak
  Issue Type: Improvement
  Components: mongomk
Reporter: Marcel Reutegger
Assignee: Marcel Reutegger
Priority: Minor
 Fix For: 1.10


MongoDocumentStore.query() currently throws a MongoException when a query to 
MongoDB fails. The implementation should rather throw a DocumentStoreException 
and wrap the underlying MongoException.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (OAK-7133) DocumentNodeStore resilience test on MongoDB

2018-01-11 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger resolved OAK-7133.
---
   Resolution: Fixed
Fix Version/s: 1.9.0

> DocumentNodeStore resilience test on MongoDB
> 
>
> Key: OAK-7133
> URL: https://issues.apache.org/jira/browse/OAK-7133
> Project: Jackrabbit Oak
>  Issue Type: Test
>  Components: mongomk
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
> Fix For: 1.9.0, 1.10
>
>
> Create a resilience test that sets up a DocumentNodeStore on a MongoDB 
> replica set and periodically stop the primary for a while.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)