From 0bbd5c343fb0902d7c13e55936f128a6827fdf2b Mon Sep 17 00:00:00 2001 From: hermes Date: Fri, 20 Nov 2026 20:14:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(zhiyi):=20=E8=A7=A3=E5=89=96=E7=BA=BF?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E4=BF=AE=E6=AD=A3=20st=E2=86=92state?= =?UTF-8?q?=EF=BC=88handle=5Fclient=20=E5=8F=82=E6=95=B0=E5=90=8D=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 第三次编译才过。前两次败因: 1. 缺 protoc(环境)→ apt install protobuf-compiler 2. E0425 cannot find value 'st' → 本 commit(handle_client 参数名是 state) 产物绑定: 本 commit + e4dd001 --- rust/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/src/main.rs b/rust/src/main.rs index 45fbc93..88292f3 100644 --- a/rust/src/main.rs +++ b/rust/src/main.rs @@ -535,7 +535,7 @@ fn handle_client(mut stream: UnixStream, args: &Args, lancedb: LanceDBOps, state let msg_type = msg["type"].as_str().unwrap_or("consolidate"); // 2026-11-20 P0 解剖线:登记在飞连接(RAII,函数返回/panic 都归还) - let _inflight_guard = InflightGuard::new(&st.inflight, msg_type.to_string()); + let _inflight_guard = InflightGuard::new(&state.inflight, msg_type.to_string()); eprintln!( "[zhiyi] msg type = {:?}, raw keys = {:?}", msg_type,