You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by zh...@apache.org on 2022/05/16 02:52:07 UTC
[kudu] branch master updated: [master] --max_create_tablets_per_ts is run-time flag
This is an automated email from the ASF dual-hosted git repository.
zhangyifan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push:
new d3a628eb1 [master] --max_create_tablets_per_ts is run-time flag
d3a628eb1 is described below
commit d3a628eb14cbfc78bc89d196def8f5ce491f32ba
Author: Alexey Serbin <al...@apache.org>
AuthorDate: Fri May 13 11:33:58 2022 -0700
[master] --max_create_tablets_per_ts is run-time flag
This patch adds the 'runtime' tag to the --max_create_tablets_per_ts
flag reflecting the fact that the flag is actually can be updated
in runtime.
Change-Id: Ib67818bee6ee9c27fcfa0636247ca0537ffef6e3
Reviewed-on: http://gerrit.cloudera.org:8080/18527
Reviewed-by: Yifan Zhang <ch...@163.com>
Tested-by: Yifan Zhang <ch...@163.com>
---
src/kudu/master/catalog_manager.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/kudu/master/catalog_manager.cc b/src/kudu/master/catalog_manager.cc
index 90511d145..7af3873ba 100644
--- a/src/kudu/master/catalog_manager.cc
+++ b/src/kudu/master/catalog_manager.cc
@@ -234,6 +234,7 @@ DEFINE_int32(max_create_tablets_per_ts, 60,
"The number of tablet replicas per TS that can be requested for a "
"new table. If 0, no limit is enforced.");
TAG_FLAG(max_create_tablets_per_ts, advanced);
+TAG_FLAG(max_create_tablets_per_ts, runtime);
DEFINE_int32(master_failover_catchup_timeout_ms, 30 * 1000, // 30 sec
"Amount of time to give a newly-elected leader master to load"