[jira] [Updated] (OAK-3052) Make compaction gain estimate threshold configurable

2015-12-11 Thread JIRA

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

Michael Dürig updated OAK-3052:
---
Labels: candidate_oak_1_0 candidate_oak_1_2 compaction gc  (was: compaction 
gc)

> Make compaction gain estimate threshold configurable
> 
>
> Key: OAK-3052
> URL: https://issues.apache.org/jira/browse/OAK-3052
> Project: Jackrabbit Oak
>  Issue Type: New Feature
>  Components: segmentmk
>Reporter: Michael Dürig
>Assignee: Michael Dürig
>Priority: Minor
>  Labels: candidate_oak_1_0, candidate_oak_1_2, compaction, gc
> Fix For: 1.3.3
>
> Attachments: OAK-3052-v2.patch, OAK-3052.patch
>
>
> Currently compaction is skipped if the compaction gain estimator determines 
> that less than 10% of space could be reclaimed. Instead of relying on a hard 
> coded value of 10% we should make this configurable. 



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


[jira] [Updated] (OAK-3052) Make compaction gain estimate threshold configurable

2015-10-14 Thread JIRA

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

Michael Dürig updated OAK-3052:
---
Issue Type: New Feature  (was: Sub-task)
Parent: (was: OAK-2849)

> Make compaction gain estimate threshold configurable
> 
>
> Key: OAK-3052
> URL: https://issues.apache.org/jira/browse/OAK-3052
> Project: Jackrabbit Oak
>  Issue Type: New Feature
>  Components: segmentmk
>Reporter: Michael Dürig
>Assignee: Michael Dürig
>Priority: Minor
>  Labels: compaction, gc
> Fix For: 1.3.3
>
> Attachments: OAK-3052-v2.patch, OAK-3052.patch
>
>
> Currently compaction is skipped if the compaction gain estimator determines 
> that less than 10% of space could be reclaimed. Instead of relying on a hard 
> coded value of 10% we should make this configurable. 



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


[jira] [Updated] (OAK-3052) Make compaction gain estimate threshold configurable

2015-07-07 Thread Alex Parvulescu (JIRA)

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

Alex Parvulescu updated OAK-3052:
-
Attachment: OAK-3052.patch

very useful for testing too :)

attaching [proposed patch|^OAK-3052.patch]. [~mduerig] can you take a look?

 Make compaction gain estimate threshold configurable
 

 Key: OAK-3052
 URL: https://issues.apache.org/jira/browse/OAK-3052
 Project: Jackrabbit Oak
  Issue Type: Sub-task
  Components: segmentmk
Reporter: Michael Dürig
Assignee: Michael Dürig
Priority: Minor
  Labels: compaction, gc
 Fix For: 1.3.3

 Attachments: OAK-3052.patch


 Currently compaction is skipped if the compaction gain estimator determines 
 that less than 10% of space could be reclaimed. Instead of relying on a hard 
 coded value of 10% we should make this configurable. 



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


[jira] [Updated] (OAK-3052) Make compaction gain estimate threshold configurable

2015-07-07 Thread Alex Parvulescu (JIRA)

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

Alex Parvulescu updated OAK-3052:
-
Attachment: OAK-3052-v2.patch

attaching improved version. 
the issue I'm seeing now is with the OSGi package export versions:
{code}
[ERROR] org.apache.jackrabbit.oak.plugins.segment: Version increase required; 
detected 3.0.0, suggested 4.0.0
{code}
I don't want to bump up to 4.0.0 as this will probably break a lot of existing 
importers. also this version increase will introduce a big issue with 
backporting.

[~mduerig], [~chetanm] any ideas?


 Make compaction gain estimate threshold configurable
 

 Key: OAK-3052
 URL: https://issues.apache.org/jira/browse/OAK-3052
 Project: Jackrabbit Oak
  Issue Type: Sub-task
  Components: segmentmk
Reporter: Michael Dürig
Assignee: Michael Dürig
Priority: Minor
  Labels: compaction, gc
 Fix For: 1.3.3

 Attachments: OAK-3052-v2.patch, OAK-3052.patch


 Currently compaction is skipped if the compaction gain estimator determines 
 that less than 10% of space could be reclaimed. Instead of relying on a hard 
 coded value of 10% we should make this configurable. 



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