diff --git a/src/cmd_all/src/single_node.rs b/src/cmd_all/src/single_node.rs index 49532ef0076bf..73a63fe871c98 100644 --- a/src/cmd_all/src/single_node.rs +++ b/src/cmd_all/src/single_node.rs @@ -150,7 +150,7 @@ pub fn map_single_node_opts_to_standalone_opts(opts: &SingleNodeOpts) -> ParsedS meta_opts.sql_endpoint = Some(meta_store_endpoint); } - // Set listen addresses (override) + // Set listen addresses (force to override) meta_opts.listen_addr = "0.0.0.0:5690".to_string(); compute_opts.listen_addr = "0.0.0.0:5688".to_string(); compactor_opts.listen_addr = "0.0.0.0:6660".to_string(); @@ -158,7 +158,7 @@ pub fn map_single_node_opts_to_standalone_opts(opts: &SingleNodeOpts) -> ParsedS frontend_opts.listen_addr = frontend_addr.clone(); } - // Set Meta addresses for all nodes (override) + // Set Meta addresses for all nodes (force to override) let meta_addr = "127.0.0.1:5690".to_string(); meta_opts.advertise_addr = meta_addr.clone(); compute_opts.meta_address = meta_addr.parse().unwrap(); diff --git a/src/compute/src/lib.rs b/src/compute/src/lib.rs index 3673997d2a128..19c329e112787 100644 --- a/src/compute/src/lib.rs +++ b/src/compute/src/lib.rs @@ -106,29 +106,29 @@ pub struct ComputeNodeOpts { /// Used for control the metrics level, similar to log level. /// 0 = disable metrics /// >0 = enable metrics - #[clap(long, env = "RW_METRICS_LEVEL")] + #[clap(long, hide = true, env = "RW_METRICS_LEVEL")] #[override_opts(path = server.metrics_level)] pub metrics_level: Option, /// Path to data file cache data directory. /// Left empty to disable file cache. - #[clap(long, env = "RW_DATA_FILE_CACHE_DIR")] + #[clap(long, hide = true, env = "RW_DATA_FILE_CACHE_DIR")] #[override_opts(path = storage.data_file_cache.dir)] pub data_file_cache_dir: Option, /// Path to meta file cache data directory. /// Left empty to disable file cache. - #[clap(long, env = "RW_META_FILE_CACHE_DIR")] + #[clap(long, hide = true, env = "RW_META_FILE_CACHE_DIR")] #[override_opts(path = storage.meta_file_cache.dir)] pub meta_file_cache_dir: Option, /// Enable async stack tracing through `await-tree` for risectl. - #[clap(long, env = "RW_ASYNC_STACK_TRACE", value_enum)] + #[clap(long, hide = true, env = "RW_ASYNC_STACK_TRACE", value_enum)] #[override_opts(path = streaming.async_stack_trace)] pub async_stack_trace: Option, /// Enable heap profile dump when memory usage is high. - #[clap(long, env = "RW_HEAP_PROFILING_DIR")] + #[clap(long, hide = true, env = "RW_HEAP_PROFILING_DIR")] #[override_opts(path = server.heap_profiling.dir)] pub heap_profiling_dir: Option, } diff --git a/src/storage/compactor/src/lib.rs b/src/storage/compactor/src/lib.rs index 806ca2c489301..1fd39a674db58 100644 --- a/src/storage/compactor/src/lib.rs +++ b/src/storage/compactor/src/lib.rs @@ -89,7 +89,7 @@ pub struct CompactorOpts { #[clap(long, env = "RW_COMPACTOR_MODE", value_enum)] pub compactor_mode: Option, - #[clap(long, env = "RW_PROXY_RPC_ENDPOINT", default_value = "")] + #[clap(long, hide = true, env = "RW_PROXY_RPC_ENDPOINT", default_value = "")] pub proxy_rpc_endpoint: String, }