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

ASF GitHub Bot updated GEODE-8533:
----------------------------------
    Labels: pull-request-available  (was: )

> 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