[ 
https://issues.apache.org/jira/browse/GEODE-8533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17205603#comment-17205603
 ] 

ASF subversion and git services commented on GEODE-8533:
--------------------------------------------------------

Commit a099fa361b6820343f47dac6a44bc63cbb754396 in geode's branch 
refs/heads/develop from Dave Barnes
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=a099fa3 ]

GEODE-8533: Docs - compaction-threshold mechanism description are wrong (#5549)

* GEODE-8533: User Guide - compaction-threshold is properly described as 
percentage of live data, below which an OpLog is marked for compaction

> User Guide - compaction-threshold mechanism descriptions are wrong
> ------------------------------------------------------------------
>
>                 Key: GEODE-8533
>                 URL: https://issues.apache.org/jira/browse/GEODE-8533
>             Project: Geode
>          Issue Type: Bug
>          Components: docs
>    Affects Versions: 1.13.0
>            Reporter: Dave Barnes
>            Assignee: Dave Barnes
>            Priority: Major
>              Labels: pull-request-available
>
> Zhengzhi Xu reports:
> The compaction threshold mechanism is misleading in current document.
> CompactionThreshold is percentage of remaining live data in the oplog at 
> which an oplog is compactable, while current user document is described as 
> percentage of garbage in the oplog like the below:
> --compaction-threshold: Percentage of garbage allowed in the file before it 
> is eligible for compaction.
> The correct description is in the API document:
> {code:java}
> DiskStoreFactory setCompactionThreshold(int compactionThreshold) Sets the 
> threshold at which an oplog will become compactable. Until it reaches this 
> threshold the oplog will not be compacted. The threshold is a percentage in 
> the range 0..100. When the amount of live data in an oplog becomes less than 
> this percentage then when a compaction is done this garbage will be cleaned 
> up freeing up disk space. Garbage is created by entry destroys, entry 
> updates, and region destroys. Parameters: compactionThreshold - percentage of 
> remaining live data in the oplog at which an oplog is compactable{code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to