【 TiDB 使用环境】测试
【 TiDB 版本】v5.4.0
【遇到的问题】
tikv.log日志内容:
[2022/08/12 19:26:02.636 +08:00] [FATAL] [lib.rs:465] [“called Result::unwrap()
on an Err
value: Os { code: 13, kind: PermissionDenied, message: "Pe
rmission denied" }”] [backtrace=" 0: tikv_util::set_panic_hook::{{closure}}
at /home/jenkins/agent/workspace/build-common/go/src/github.
com/pingcap/tikv/components/tikv_util/src/lib.rs:464:18
1: std::panicking::rust_panic_with_hook
at /rustc/2faabf579323f5252329264cc53ba
9ff803429a3/library/std/src/panicking.rs:626:17
2: std::panicking::begin_panic_handler::{{closure}}
at /rustc/2faabf579323f5252329264cc
53ba9ff803429a3/library/std/src/panicking.rs:519:13
3: std::sys_common::backtrace::__rust_end_short_backtrace
at /rustc/2faabf579323f52
52329264cc53ba9ff803429a3/library/std/src/sys_common/backtrace.rs:141:18
4: rust_begin_unwind
at /rustc/2faabf579323f5252329264cc53ba9f
f803429a3/library/std/src/panicking.rs:515:5
5: core::panicking::panic_fmt
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/c
ore/src/panicking.rs:92:14
6: core::result::unwrap_failed
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/core/src/result.rs
:1599:5
7: core::result::Result<T,E>::unwrap
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/core/src/result.rs:1281:23\
server::server::TiKVServer::check_conflict_addr
at /home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/compone
nts/server/src/server.rs:370:22
server::server::run_tikv
at /home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tik
v/components/server/src/server.rs:155:9
8: tikv_server::main
at /home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/ti
kv/cmd/tikv-server/src/main.rs:190:5
9: core::ops::function::FnOnce::call_once
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/libra
ry/core/src/ops/function.rs:227:5
std::sys_common::backtrace::__rust_begin_short_backtrace
at /rustc/2faabf579323f5252329264cc53ba9f
f803429a3/library/std/src/sys_common/backtrace.rs:125:18
10: main
11: __libc_start_main
12:
"] [location=components/server/src/server
.rs:370] [thread_name=main]
【复现路径】
集群共4台,只有管理主机这一台的tikv启动不了,其它另外3台启动正常,在主的这一台加tiflash也一样会报这个权限问题,服务启动不了,感觉像是用户硬盘访问权限问题,可是主的这一台其它几个服务tidb和pd都启动正常,日志也产生正常,很是奇怪,请问有高手知道原因吗?
【问题现象及影响】
【附件】
请提供各个组件的 version 信息,如 cdc/tikv,可通过执行 cdc version/tikv-server --version 获取。