This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch 2.1
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/2.1 by this push:
     new 51124ad348 Use memory percentage for GC batch size (#3725)
51124ad348 is described below

commit 51124ad34872c2b659b69251fcd1160e20bbdd44
Author: Mark Owens <jmar...@apache.org>
AuthorDate: Thu Sep 28 23:41:48 2023 -0400

    Use memory percentage for GC batch size (#3725)
---
 core/src/main/java/org/apache/accumulo/core/conf/Property.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/src/main/java/org/apache/accumulo/core/conf/Property.java 
b/core/src/main/java/org/apache/accumulo/core/conf/Property.java
index e175a60173..191f411396 100644
--- a/core/src/main/java/org/apache/accumulo/core/conf/Property.java
+++ b/core/src/main/java/org/apache/accumulo/core/conf/Property.java
@@ -878,8 +878,8 @@ public enum Property {
   GC_PREFIX("gc.", null, PropertyType.PREFIX,
       "Properties in this category affect the behavior of the accumulo garbage 
collector.",
       "1.3.5"),
-  GC_CANDIDATE_BATCH_SIZE("gc.candidate.batch.size", "8M", PropertyType.BYTES,
-      "The batch size used for garbage collection.", "2.1.0"),
+  GC_CANDIDATE_BATCH_SIZE("gc.candidate.batch.size", "50%", 
PropertyType.MEMORY,
+      "The amount of memory used as the batch size for garbage collection.", 
"2.1.0"),
   GC_CYCLE_START("gc.cycle.start", "30s", PropertyType.TIMEDURATION,
       "Time to wait before attempting to garbage collect any old RFiles or 
write-ahead logs.",
       "1.3.5"),

Reply via email to