tiup部署直接替换库方式,现在不管用来了

我tiup部署tidb4.0后,编译最新代码,然后替换tidb-server,1个月前可以的,现在启动超时 tidb-server启动失败。是否tiup做了改进

tiup 版本迭代很快的,你之前部署的时候和现在的 tiup 是一个版本吗?

能否将 tiup 以及 tidb 各自的日志贴出来看一下

不好意思。昨天着急,
忘记正常提问的流程。

tidb.log.log (4.1 KB)
tiup --version
v1.2.3 tiup
Go Version: go1.13
Git Branch: release-1.2
GitHash: df7e28a

tiup cluster restart tidb

Starting component tidb
        Starting instance tidb 127.0.0.1:4000
retry error: operation timed out after 2m0s
        tidb 127.0.0.1:4000 failed to start: timed out waiting for port 4000 to be started after 2m0s, please check the log of the instance

Error: failed to start: failed to start tidb:   tidb 127.0.0.1:4000 failed to start: timed out waiting for port 4000 to be started after 2m0s, please check the log of the instance: timed out waiting for port 4000 to be started after 2m0s

tiup-cluster-debug-2020-11-18-14-58-00.log (185.1 KB)

  • tidb日志

    [2020/11/18 15:05:22.586 +08:00] [INFO] [ddl_worker.go:124] ["[ddl] DDL worker closed"] [worker=“worker 30, tp add index”] [“take time”=331ns]
    [2020/11/18 15:05:22.586 +08:00] [INFO] [delete_range.go:130] ["[ddl] closing delRange"]
    [2020/11/18 15:05:22.586 +08:00] [INFO] [session_pool.go:85] ["[ddl] closing sessionPool"]
    [2020/11/18 15:05:22.586 +08:00] [INFO] [ddl.go:395] ["[ddl] DDL closed"] [ID=bfe71a7a-2d4f-47ac-a6a4-ec9a44f336ba] [“take time”=1.832371ms]
    [2020/11/18 15:05:22.586 +08:00] [INFO] [ddl.go:308] ["[ddl] stop DDL"] [ID=bfe71a7a-2d4f-47ac-a6a4-ec9a44f336ba]
    [2020/11/18 15:05:22.587 +08:00] [INFO] [domain.go:1466] [“serverIDKeeper exited.”]
    [2020/11/18 15:05:22.587 +08:00] [INFO] [domain.go:654] [“domain closed”] [“take time”=2.797058ms]
    [2020/11/18 15:05:22.587 +08:00] [ERROR] [tidb.go:83] ["[ddl] init domain failed"] [error=“404 page not found\n”

可以参考下这个帖子:

该问题已经解决

tiup list 组件  还是要保持一直。
pd tidb ,tikv 用最新代码全部编译了一遍
`