From 2e65966c064b94416c690e2a17d290c5f5ea099a Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 16 Feb 2026 00:43:35 -0800 Subject: [PATCH] feat(rust-volume-server): default rust launcher mode to native --- rust/volume_server/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rust/volume_server/src/main.rs b/rust/volume_server/src/main.rs index 2c9b651cb..981d04c68 100644 --- a/rust/volume_server/src/main.rs +++ b/rust/volume_server/src/main.rs @@ -77,7 +77,7 @@ fn run() -> Result<(), String> { let forwarded = normalize_volume_args(args); let mode = env::var("VOLUME_SERVER_RUST_MODE") - .unwrap_or_else(|_| "exec".to_string()) + .unwrap_or_else(|_| "native".to_string()) .to_lowercase(); match mode.as_str() { @@ -422,9 +422,9 @@ fn print_help() { println!(); println!("Rust compatibility launcher for SeaweedFS volume server."); println!("Modes:"); - println!(" - exec (default): exec Go weed volume process directly"); + println!(" - native (default): bootstrap native mode entrypoint (currently supervises/proxies Go backend)"); + println!(" - exec: exec Go weed volume process directly"); println!(" - proxy: run Rust TCP proxy front-end and supervise Go weed backend"); - println!(" - native: bootstrap native mode entrypoint (currently supervises/proxies Go backend)"); println!(); println!("Environment:"); println!(" VOLUME_SERVER_RUST_MODE=exec|proxy|native");