xichen01 commented on code in PR #4939:
URL: https://github.com/apache/ozone/pull/4939#discussion_r1245331909
##########
hadoop-hdds/common/src/main/java/org/apache/hadoop/ozone/OzoneConfigKeys.java:
##########
@@ -257,7 +257,17 @@ public final class OzoneConfigKeys {
public static final String OZONE_BLOCK_DELETING_SERVICE_TIMEOUT =
"ozone.block.deleting.service.timeout";
public static final String OZONE_BLOCK_DELETING_SERVICE_TIMEOUT_DEFAULT
- = "300s"; // 300s for default
+ = "300s"; // 300s for default deleteBlocksCommandLimit
+
+ /**
+ * A limit to restrict the total number of delete block commands queued on a
+ * datanode. Note this is intended to be a temporary config until we have a
+ * more dynamic way of limiting load.
+ */
+ public static final String OZONE_BLOCK_DELETING_PENDING_COMMAND_LIMIT =
+ "ozone.block.deleting.pending.command.limit";
+ public static final int OZONE_BLOCK_DELETING_PENDING_COMMAND_LIMIT_DEFAULT
+ = 5; // same with hdds.datanode.block.delete.queue.limit
Review Comment:
done.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]