[jira] [Updated] (OAK-4774) Check usage of DocumentStoreException in MongoDocumentStore

2017-03-20 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger updated OAK-4774:
--
Fix Version/s: 1.2.25
   1.0.38

> Check usage of DocumentStoreException in MongoDocumentStore
> ---
>
> Key: OAK-4774
> URL: https://issues.apache.org/jira/browse/OAK-4774
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: core, mongomk
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
>  Labels: resilience
> Fix For: 1.4.15, 1.5.11, 1.6.0, 1.0.38, 1.2.25
>
> Attachments: OAK-4774-1.4.patch
>
>
> With OAK-4771 the usage of DocumentStoreException was clarified in the 
> DocumentStore interface. The purpose of this task is to check usage of the 
> DocumentStoreException in MongoDocumentStore and make sure MongoDB Java 
> driver specific exceptions are handled consistently and wrapped in a 
> DocumentStoreException. At the same time, cache consistency needs to be 
> checked as well in case of a driver exception. E.g. invalidate if necessary.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (OAK-4774) Check usage of DocumentStoreException in MongoDocumentStore

2017-03-20 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger updated OAK-4774:
--
Labels: resilience  (was: candidate_oak_1_0 candidate_oak_1_2 resilience)

> Check usage of DocumentStoreException in MongoDocumentStore
> ---
>
> Key: OAK-4774
> URL: https://issues.apache.org/jira/browse/OAK-4774
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: core, mongomk
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
>  Labels: resilience
> Fix For: 1.4.15, 1.5.11, 1.6.0, 1.0.38, 1.2.25
>
> Attachments: OAK-4774-1.4.patch
>
>
> With OAK-4771 the usage of DocumentStoreException was clarified in the 
> DocumentStore interface. The purpose of this task is to check usage of the 
> DocumentStoreException in MongoDocumentStore and make sure MongoDB Java 
> driver specific exceptions are handled consistently and wrapped in a 
> DocumentStoreException. At the same time, cache consistency needs to be 
> checked as well in case of a driver exception. E.g. invalidate if necessary.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (OAK-4774) Check usage of DocumentStoreException in MongoDocumentStore

2017-03-20 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger updated OAK-4774:
--
   Labels: candidate_oak_1_0 candidate_oak_1_2 resilience  (was: 
candidate_oak_1_0 candidate_oak_1_2 candidate_oak_1_4 resilience)
Fix Version/s: 1.4.15

Merged into branch:

- 1.4: http://svn.apache.org/r1787766

> Check usage of DocumentStoreException in MongoDocumentStore
> ---
>
> Key: OAK-4774
> URL: https://issues.apache.org/jira/browse/OAK-4774
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: core, mongomk
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
>  Labels: candidate_oak_1_0, candidate_oak_1_2, resilience
> Fix For: 1.4.15, 1.5.11, 1.6.0
>
> Attachments: OAK-4774-1.4.patch
>
>
> With OAK-4771 the usage of DocumentStoreException was clarified in the 
> DocumentStore interface. The purpose of this task is to check usage of the 
> DocumentStoreException in MongoDocumentStore and make sure MongoDB Java 
> driver specific exceptions are handled consistently and wrapped in a 
> DocumentStoreException. At the same time, cache consistency needs to be 
> checked as well in case of a driver exception. E.g. invalidate if necessary.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (OAK-4774) Check usage of DocumentStoreException in MongoDocumentStore

2017-03-16 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger updated OAK-4774:
--
Attachment: OAK-4774-1.4.patch

Thanks for the hint. Created a new patch using {{--show-copies-as-adds}}.

> Check usage of DocumentStoreException in MongoDocumentStore
> ---
>
> Key: OAK-4774
> URL: https://issues.apache.org/jira/browse/OAK-4774
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: core, mongomk
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
>  Labels: candidate_oak_1_0, candidate_oak_1_2, candidate_oak_1_4, 
> resilience
> Fix For: 1.5.11, 1.6.0
>
> Attachments: OAK-4774-1.4.patch
>
>
> With OAK-4771 the usage of DocumentStoreException was clarified in the 
> DocumentStore interface. The purpose of this task is to check usage of the 
> DocumentStoreException in MongoDocumentStore and make sure MongoDB Java 
> driver specific exceptions are handled consistently and wrapped in a 
> DocumentStoreException. At the same time, cache consistency needs to be 
> checked as well in case of a driver exception. E.g. invalidate if necessary.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (OAK-4774) Check usage of DocumentStoreException in MongoDocumentStore

2017-03-16 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger updated OAK-4774:
--
Attachment: (was: OAK-4774-1.4.patch)

> Check usage of DocumentStoreException in MongoDocumentStore
> ---
>
> Key: OAK-4774
> URL: https://issues.apache.org/jira/browse/OAK-4774
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: core, mongomk
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
>  Labels: candidate_oak_1_0, candidate_oak_1_2, candidate_oak_1_4, 
> resilience
> Fix For: 1.5.11, 1.6.0
>
> Attachments: OAK-4774-1.4.patch
>
>
> With OAK-4771 the usage of DocumentStoreException was clarified in the 
> DocumentStore interface. The purpose of this task is to check usage of the 
> DocumentStoreException in MongoDocumentStore and make sure MongoDB Java 
> driver specific exceptions are handled consistently and wrapped in a 
> DocumentStoreException. At the same time, cache consistency needs to be 
> checked as well in case of a driver exception. E.g. invalidate if necessary.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (OAK-4774) Check usage of DocumentStoreException in MongoDocumentStore

2017-03-16 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger updated OAK-4774:
--
Attachment: OAK-4774-1.4.patch

I'd like to backport this to branches. However, there are some changes 
required, because earlier branches use a different MongoDB Java Driver version 
and the fongo test dependency had to be changed accordingly.

There also seems to be an issue with the bundle plugin. OAK-4774 adds test 
classes in the {{com.mongodb}} package, which seems to confuse the plugin and 
it omits the {{resolution:=optional}} directive even if the MongoDB Java Driver 
is declared as optional in the POM. I therefore had to add an explicit 
{{Import-Package}} to oak-core.

[~chetanm], can you please review the attached patch for 1.4 
[^OAK-4774-1.4.patch]?

> Check usage of DocumentStoreException in MongoDocumentStore
> ---
>
> Key: OAK-4774
> URL: https://issues.apache.org/jira/browse/OAK-4774
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: core, mongomk
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
>  Labels: candidate_oak_1_0, candidate_oak_1_2, candidate_oak_1_4, 
> resilience
> Fix For: 1.5.11, 1.6.0
>
> Attachments: OAK-4774-1.4.patch
>
>
> With OAK-4771 the usage of DocumentStoreException was clarified in the 
> DocumentStore interface. The purpose of this task is to check usage of the 
> DocumentStoreException in MongoDocumentStore and make sure MongoDB Java 
> driver specific exceptions are handled consistently and wrapped in a 
> DocumentStoreException. At the same time, cache consistency needs to be 
> checked as well in case of a driver exception. E.g. invalidate if necessary.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (OAK-4774) Check usage of DocumentStoreException in MongoDocumentStore

2016-09-16 Thread Julian Reschke (JIRA)

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

Julian Reschke updated OAK-4774:

Labels: candidate_oak_1_0 candidate_oak_1_2 candidate_oak_1_4 resilience  
(was: resilience)

> Check usage of DocumentStoreException in MongoDocumentStore
> ---
>
> Key: OAK-4774
> URL: https://issues.apache.org/jira/browse/OAK-4774
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: core, mongomk
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
>  Labels: candidate_oak_1_0, candidate_oak_1_2, candidate_oak_1_4, 
> resilience
> Fix For: 1.6, 1.5.11
>
>
> With OAK-4771 the usage of DocumentStoreException was clarified in the 
> DocumentStore interface. The purpose of this task is to check usage of the 
> DocumentStoreException in MongoDocumentStore and make sure MongoDB Java 
> driver specific exceptions are handled consistently and wrapped in a 
> DocumentStoreException. At the same time, cache consistency needs to be 
> checked as well in case of a driver exception. E.g. invalidate if necessary.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OAK-4774) Check usage of DocumentStoreException in MongoDocumentStore

2016-09-14 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger updated OAK-4774:
--
Labels: resilience  (was: )

> Check usage of DocumentStoreException in MongoDocumentStore
> ---
>
> Key: OAK-4774
> URL: https://issues.apache.org/jira/browse/OAK-4774
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: core, mongomk
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
>  Labels: resilience
> Fix For: 1.6, 1.5.11
>
>
> With OAK-4771 the usage of DocumentStoreException was clarified in the 
> DocumentStore interface. The purpose of this task is to check usage of the 
> DocumentStoreException in MongoDocumentStore and make sure MongoDB Java 
> driver specific exceptions are handled consistently and wrapped in a 
> DocumentStoreException. At the same time, cache consistency needs to be 
> checked as well in case of a driver exception. E.g. invalidate if necessary.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)