[jira] [Commented] (OAK-6544) Enable active blob deletion feature by default

2017-08-11 Thread Amit Jain (JIRA)

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

Amit Jain commented on OAK-6544:


Created an issue as per the above discussion - OAK-6550

> Enable active blob deletion feature by default
> --
>
> Key: OAK-6544
> URL: https://issues.apache.org/jira/browse/OAK-6544
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: lucene
>Affects Versions: 1.7.1
>Reporter: Vikas Saurabh
>Assignee: Vikas Saurabh
> Fix For: 1.8
>
>
> OAK-2808 allows for active deletion of blobs created by lucene indexing. 
> Currently, the feature is disabled by default. This task is to track enabling 
> it by default before doing stable release of the feature.
> About the default enabled value: I think default interval to purge blobs can 
> be 6 hours be default. (Note, the purge logic, anyway won't purge blobs which 
> were deleted in recent past... 'recent'=24hours \[configurable via jvm 
> param]).
> /cc [~chetanm]



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


[jira] [Commented] (OAK-6544) Enable active blob deletion feature by default

2017-08-11 Thread Vikas Saurabh (JIRA)

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

Vikas Saurabh commented on OAK-6544:


Discussed this offline with [~amitjain]. The issue pointed out by Amit above 
can't be cleanly resolved all the way through. What we decided was 
active-purge-of-blobs would force sync blob tracker info. BlobTracker's 
scheduled sync, otoh, would become smarted and won't sync if there already was 
a recent sync.

I'm holding back on this issue for now - btw, the above discussion kind of 
implies that a sane default should be O(12hours) (same order as that of blob 
tracker)

> Enable active blob deletion feature by default
> --
>
> Key: OAK-6544
> URL: https://issues.apache.org/jira/browse/OAK-6544
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: lucene
>Affects Versions: 1.7.1
>Reporter: Vikas Saurabh
>Assignee: Vikas Saurabh
> Fix For: 1.8
>
>
> OAK-2808 allows for active deletion of blobs created by lucene indexing. 
> Currently, the feature is disabled by default. This task is to track enabling 
> it by default before doing stable release of the feature.
> About the default enabled value: I think default interval to purge blobs can 
> be 6 hours be default. (Note, the purge logic, anyway won't purge blobs which 
> were deleted in recent past... 'recent'=24hours \[configurable via jvm 
> param]).
> /cc [~chetanm]



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


[jira] [Commented] (OAK-6544) Enable active blob deletion feature by default

2017-08-10 Thread Amit Jain (JIRA)

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

Amit Jain commented on OAK-6544:


This has to be linked to the synchronization interval for the BlobTracker (The 
thing which caches the blob ids locally), where its frequency has to be less 
than the frequency here so that it can synchronize the deletes before the full 
scale GC takes place.


> Enable active blob deletion feature by default
> --
>
> Key: OAK-6544
> URL: https://issues.apache.org/jira/browse/OAK-6544
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: lucene
>Affects Versions: 1.7.1
>Reporter: Vikas Saurabh
>Assignee: Vikas Saurabh
> Fix For: 1.8
>
>
> OAK-2808 allows for active deletion of blobs created by lucene indexing. 
> Currently, the feature is disabled by default. This task is to track enabling 
> it by default before doing stable release of the feature.
> About the default enabled value: I think default interval to purge blobs can 
> be 6 hours be default. (Note, the purge logic, anyway won't purge blobs which 
> were deleted in recent past... 'recent'=24hours \[configurable via jvm 
> param]).
> /cc [~chetanm]



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