You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2022/04/12 15:54:18 UTC
[GitHub] [accumulo] milleruntime commented on a diff in pull request #2609: Implement a write thread limit
milleruntime commented on code in PR #2609:
URL: https://github.com/apache/accumulo/pull/2609#discussion_r848600376
##########
server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java:
##########
@@ -377,6 +383,8 @@ public void run() {
} else {
authKeyWatcher = null;
}
+ MAX_WRITE_THREADS_DEFAULT =
+ getServerConfig().getConfiguration().getDefaultCount(Property.TSERV_WRITE_THREADS_MAX);
Review Comment:
This gets the default value. The other method gets the configured value. I didn't want to hardcode 0 because we could change the default value. Granted, here it isn't that big of deal because we probably won't change the default value.
--
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-unsubscribe@accumulo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org