dlmarion commented on code in PR #5726:
URL: https://github.com/apache/accumulo/pull/5726#discussion_r2208201494


##########
core/src/main/java/org/apache/accumulo/core/conf/Property.java:
##########
@@ -1556,6 +1556,34 @@ public enum Property {
   COMPACTOR_CLIENTPORT("compactor.port.client", "9133", PropertyType.PORT,
       "The port used for handling client connections on the compactor 
servers.", "2.1.0"),
   @Experimental
+  COMPACTOR_FAILURE_BACKOFF_THRESHOLD("compactor.failure.backoff.threshold", 
"3",
+      PropertyType.COUNT,
+      "The number of consecutive failures that must occur before the Compactor 
starts to back off"
+          + " processing compactions.",
+      "2.1.4"),
+  @Experimental
+  COMPACTOR_FAILURE_BACKOFF_INTERVAL("compactor.failure.backoff.interval", "0",
+      PropertyType.TIMEDURATION,
+      "The time basis for computing the wait time for compaction failure 
backoff. A value of zero disables"
+          + " the backoff feature. When a non-zero value is supplied, then 
after compactor.failure.backoff.threshold"
+          + " failures have occurred, the compactor will wait 
compactor.failure.backoff.interval * the number of"
+          + " failures seconds before executing the next compaction. For 
example, if this value is 10s, then after"
+          + " three failures the Compactor will wait 30s before starting the 
next compaction. If the compaction fails"
+          + " again, then it will wait 40s before starting the next 
compaction.",
+      "2.1.4"),
+  @Experimental
+  COMPACTOR_FAILURE_BACKOFF_RESET("compactor.failure.backoff.reset", "10m",

Review Comment:
   I selected to reset to 0 instead of staying at the max time just as a way to 
try and recover quicker in the event that the issue was fixed. This was also 
the reason I didn't do exponential backoff. I'm assuming that the user will fix 
the issue.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to