sumitagrawl commented on code in PR #4618:
URL: https://github.com/apache/ozone/pull/4618#discussion_r1177863350
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/statemachine/DatanodeConfiguration.java:
##########
@@ -146,12 +146,24 @@ public class DatanodeConfiguration {
*/
@Config(key = "block.delete.queue.limit",
type = ConfigType.INT,
- defaultValue = "1440",
+ defaultValue = "5",
tags = {DATANODE},
description = "The maximum number of block delete commands queued on " +
" a datanode"
)
- private int blockDeleteQueueLimit = 60 * 24;
+ private int blockDeleteQueueLimit = 5;
+
+ /**
+ * The maximum number of commands in queued list.
+ * if the commands limit crosses limit, then command will be ignored.
+ */
+ @Config(key = "command.queue.limit",
+ type = ConfigType.INT,
+ defaultValue = "5000",
+ tags = {DATANODE},
+ description = "The maximum number of commands queued on a datanode"
Review Comment:
Updated...
--
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]