[jira] [Updated] (OAK-1849) DataStore GC support for heterogeneous deployments using a shared datastore

2015-03-10 Thread angela (JIRA)

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

angela updated OAK-1849:

Component/s: blob

> DataStore GC support for heterogeneous deployments using a shared datastore
> ---
>
> Key: OAK-1849
> URL: https://issues.apache.org/jira/browse/OAK-1849
> Project: Jackrabbit Oak
>  Issue Type: New Feature
>  Components: blob
>Reporter: Amit Jain
>Assignee: Thomas Mueller
> Fix For: 1.1.8, 1.2
>
> Attachments: OAK-1849-PART-MBEAN.patch, OAK-1849-PART-TEST.patch, 
> OAK-1849-PART1.patch, OAK-1849-v2.patch, OAK-1849.patch
>
>
> If the deployment is such that there are 2 or more different instances with a 
> shared datastore, triggering Datastore GC from one instance will result in 
> blobs used by another instance getting deleted, causing data loss.



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


[jira] [Updated] (OAK-1849) DataStore GC support for heterogeneous deployments using a shared datastore

2015-02-25 Thread Thomas Mueller (JIRA)

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

Thomas Mueller updated OAK-1849:

Fix Version/s: 1.1.7
   1.2

> DataStore GC support for heterogeneous deployments using a shared datastore
> ---
>
> Key: OAK-1849
> URL: https://issues.apache.org/jira/browse/OAK-1849
> Project: Jackrabbit Oak
>  Issue Type: New Feature
>Reporter: Amit Jain
>Assignee: Amit Jain
> Fix For: 1.2, 1.1.7
>
> Attachments: OAK-1849-PART-MBEAN.patch, OAK-1849-PART-TEST.patch, 
> OAK-1849-PART1.patch, OAK-1849-v2.patch, OAK-1849.patch
>
>
> If the deployment is such that there are 2 or more different instances with a 
> shared datastore, triggering Datastore GC from one instance will result in 
> blobs used by another instance getting deleted, causing data loss.



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


[jira] [Updated] (OAK-1849) DataStore GC support for heterogeneous deployments using a shared datastore

2015-02-09 Thread Amit Jain (JIRA)

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

Amit Jain updated OAK-1849:
---
Attachment: OAK-1849-v2.patch

Latest patch with some cleanup

> DataStore GC support for heterogeneous deployments using a shared datastore
> ---
>
> Key: OAK-1849
> URL: https://issues.apache.org/jira/browse/OAK-1849
> Project: Jackrabbit Oak
>  Issue Type: New Feature
>Reporter: Amit Jain
>Assignee: Amit Jain
> Attachments: OAK-1849-PART-MBEAN.patch, OAK-1849-PART-TEST.patch, 
> OAK-1849-PART1.patch, OAK-1849-v2.patch, OAK-1849.patch
>
>
> If the deployment is such that there are 2 or more different instances with a 
> shared datastore, triggering Datastore GC from one instance will result in 
> blobs used by another instance getting deleted, causing data loss.



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


[jira] [Updated] (OAK-1849) DataStore GC support for heterogeneous deployments using a shared datastore

2015-02-09 Thread Amit Jain (JIRA)

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

Amit Jain updated OAK-1849:
---
Issue Type: New Feature  (was: Bug)

> DataStore GC support for heterogeneous deployments using a shared datastore
> ---
>
> Key: OAK-1849
> URL: https://issues.apache.org/jira/browse/OAK-1849
> Project: Jackrabbit Oak
>  Issue Type: New Feature
>Reporter: Amit Jain
>Assignee: Amit Jain
> Attachments: OAK-1849-PART-MBEAN.patch, OAK-1849-PART-TEST.patch, 
> OAK-1849-PART1.patch, OAK-1849.patch
>
>
> If the deployment is such that there are 2 or more different instances with a 
> shared datastore, triggering Datastore GC from one instance will result in 
> blobs used by another instance getting deleted, causing data loss.



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


[jira] [Updated] (OAK-1849) DataStore GC support for heterogeneous deployments using a shared datastore

2014-08-05 Thread Amit Jain (JIRA)

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

Amit Jain updated OAK-1849:
---

Attachment: (was: OAK-1849.patch)

> DataStore GC support for heterogeneous deployments using a shared datastore
> ---
>
> Key: OAK-1849
> URL: https://issues.apache.org/jira/browse/OAK-1849
> Project: Jackrabbit Oak
>  Issue Type: Bug
>Reporter: Amit Jain
> Attachments: OAK-1849-PART-MBEAN.patch, OAK-1849-PART-TEST.patch, 
> OAK-1849-PART1.patch, OAK-1849.patch
>
>
> If the deployment is such that there are 2 or more different instances with a 
> shared datastore, triggering Datastore GC from one instance will result in 
> blobs used by another instance getting deleted, causing data loss.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (OAK-1849) DataStore GC support for heterogeneous deployments using a shared datastore

2014-08-05 Thread Amit Jain (JIRA)

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

Amit Jain updated OAK-1849:
---

Attachment: OAK-1849-PART-TEST.patch
OAK-1849-PART-MBEAN.patch
OAK-1849-PART1.patch
OAK-1849.patch

Added Mbean changes 
# Added a new overloaded method which takes a flag {{markOnly}} as input.

Also, split the patch into 3 for easier review.

[~tmueller], [~chetanm] 
Please review.

> DataStore GC support for heterogeneous deployments using a shared datastore
> ---
>
> Key: OAK-1849
> URL: https://issues.apache.org/jira/browse/OAK-1849
> Project: Jackrabbit Oak
>  Issue Type: Bug
>Reporter: Amit Jain
> Attachments: OAK-1849-PART-MBEAN.patch, OAK-1849-PART-TEST.patch, 
> OAK-1849-PART1.patch, OAK-1849.patch
>
>
> If the deployment is such that there are 2 or more different instances with a 
> shared datastore, triggering Datastore GC from one instance will result in 
> blobs used by another instance getting deleted, causing data loss.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (OAK-1849) DataStore GC support for heterogeneous deployments using a shared datastore

2014-08-04 Thread Amit Jain (JIRA)

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

Amit Jain updated OAK-1849:
---

Attachment: OAK-1849.patch

Patch implementing ideas above. Please review.

There are few points in particular where more discussion is needed:
# Introduced a new interface {{SharedDataStore}} which all supporting data 
stores would implement if they support the shared access. Should this interface 
be in jackrabbit as {{S3DataStore}} may also need to implement this? Currently, 
I have it as part of Oak so thats its easier to review.
# The only implementation currently is in {{OakFileDataStore}}. Is this ok or 
should be moved to the {{FileDataStore}}?
# The current implementation for a unique cluster {{repositoryId}} keeps it as 
a property {{:clusterId}} in a new node {{/:clusterConfig}}. This information 
is registered in the node/data stores in the {{*NodeStoreService}}. The 
{{repositoryId}} is used to register different clusters in the DataStore as 
well as identify the references from the cluster that are kept at the root of 
the DataStore.

> DataStore GC support for heterogeneous deployments using a shared datastore
> ---
>
> Key: OAK-1849
> URL: https://issues.apache.org/jira/browse/OAK-1849
> Project: Jackrabbit Oak
>  Issue Type: Bug
>Reporter: Amit Jain
> Attachments: OAK-1849.patch
>
>
> If the deployment is such that there are 2 or more different instances with a 
> shared datastore, triggering Datastore GC from one instance will result in 
> blobs used by another instance getting deleted, causing data loss.



--
This message was sent by Atlassian JIRA
(v6.2#6252)