关于tikv的调试

不要tidb可以使用tikv-client来连接tikv,当tikv就是个带事务的kv存储来用。

后一个问题想想确实有点麻烦。还是从tidb连接去吧。或者修改pd配置文件算了。

[root@tidb1 conf]# pwd
/tidb-deploy/pd-2379/conf
[root@tidb1 conf]# cat pd.toml 
# WARNING: This file is auto-generated. Do not edit! All your modification will be overwritten!
# You can use 'tiup cluster edit-config' and 'tiup cluster reload' to update the configuration
# All configuration items you want to change can be added to:
# server_configs:
#   pd:
#     aa.b1.c3: value
#     aa.b2.c4: value

正式部署的时候会由tiup生成这个配置文件,还不建议你修改它。但编译的话,没有tiup,还不如直接改这个文件,再重启pd。可能更快。