Hacker_URrvEGHH
Hacker_URrvEGHH
V5
2021-07-26 加入
获赞
15
回答
14
文章
3
    我刚才又试了一下reload,命令:“tiup cluster reload tidb-test -R tidb”, 还是不能成功,错误和之前是一样的。不过,因为我主要是想测试那两个参数对性能的影响。所以用变通的方式不影响我的使用。
    3 年前
    明白。另外,我通过http://localhost:10080/settings查看,修改的参数确实也生效了。谢谢!
    3 年前
    我之前用edit-config修改参数一直也是成功的。只是修改后,用reload更新到tidb会失败。所以,想知道用刚才直接修改tidb.toml的方法,是不是使tidb运行时用上修改后的参数了。
    3 年前
    嗯,改好了。按照这个格式修改tidb.toml文件是可以成功的。如果还是按照meta.yaml文件的格式,启动tidb会失败。最后的问题是,怎么判断修改的参数生效了呢? [image]
    3 年前
    修改是有空格的,但贴过来的时候,空格自动给去掉了。实际的格式是这样子的。 [image]
    3 年前
    好的。我看了一下,meta.yaml已经改过了。如果修改tidb.toml文件也是按照下面的格式修改吗?另外,我怎么检查参数修改成功了呢? server_configs: tidb: log.level: warn performance.gogc: 500 performance.max-procs: 384
    3 年前
    是指的/tidb-deploy/tidb-4000/conf/tidb.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…
    3 年前
    启动是没问题的。所有节点都是正常的。就是在修改配置后,reload出问题。
    3 年前
    是的,我也觉得不是参数的问题。我是想试一下这两个参数对性能的影响,有什么办法不使用tiup reload而使这两个参数生效吗?
    3 年前
    我使用tiup启动或停止tidb节点是可以的,这能说明tiup中控机和tidb节点间的通信是正常的吗? 在tidb的日志中, 我能看到下面的错误: [2021/07/29 07:52:07.921 +08:00] [INFO] [grpclogger.go:77] [“ClientConn switching balancer to “pick_first””] [system=grpc] [grpc_log=true] [2021/07/29 07:52:25.942 +08:00] [INFO] [grpclogger.go:77] [“ccResolverWrapper: send…
    3 年前
    日志中的错误如下: 2021-07-26T10:45:28.759+0800 DEBUG TaskBegin {“task”: “UpdateTopology: cluster=tidb-test”} 2021-07-26T10:45:38.760+0800 DEBUG TaskFinish {“task”: “UpdateTopology: cluster=tidb-test”, “error”: “context deadline exceeded”} 2021-07-26T10:45:38.760+0800 INFO Execute command finished {“code”…
    3 年前
    我是准备增加下面几个参数: server_configs: tidb: log.level: warn performance.gogc: 1000 performance.max-procs: 384 但这个问题我觉得似乎和具体的参数值关系不大。
    3 年前