【 TiDB 使用环境】
【TiDB 版本】

  1. TiUP Cluster Display 信息

  2. TiUP Cluster Edit Config 信息

  3. TiDB- Overview 监控

  • 对应模块日志(包含问题前后1小时日志)

tikv 日志一直有这样的报错输出
[2021/09/19 04:59:41.036 +08:00] [WARN] [lib.rs:512] [“environment variable TZ is missing, using /etc/localtime“]
[2021/09/19 04:59:41.037 +08:00] [WARN] [server.rs:1095] [“check: kernel”] [err=“kernel parameters net.core.somaxconn got 4096, expect 32768”]
[2021/09/19 04:59:41.037 +08:00] [WARN] [server.rs:1095] [“check: kernel”] [err=“kernel parameters net.ipv4.tcp_syncookies got 1, expect 0”]
[2021/09/19 04:59:41.037 +08:00] [WARN] [server.rs:1095] [“check: kernel”] [err=“kernel parameters vm.swappiness got 10, expect 0”]
[2021/09/19 04:59:41.069 +08:00] [ERROR] [server.rs:866] [“failed to init io snooper”] [err_code=KV:Unknown] [err=”“IO snooper is not started due to not compiling with BCC””]
[2021/09/19 04:59:41.069 +08:00] [FATAL] [server.rs:362] [“panic_mark_file /tidb/deploy/data/tikv-27071/panic_mark_file exists, there must be something wrong with the db. Do not remove the panic_mark_file and force the TiKV node to restart. Please contact TiKV maintainers to investigate the issue. If needed, use scale in and scale out to replace the TiKV node. https://docs.pingcap.com/tidb/stable/scale-tidb-using-tiup”]

执行缩容一直处于pending状态,查看/tidb/deploy/data/tikv-27071/panic_mark_file 文件是空的



1 个赞

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。