-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v5.2.3 upgrade to v5.4.0-nightly-20211221 fail for "server_config is only supported with TiCDC version v4.0.13 or later" #4149
Comments
I think it's a bug of TiUP-Cluster component, reference: https://github.com/pingcap/tiup/blob/934f837032b3d918b30268566b9b9ebfa4f0c479/pkg/cluster/spec/cdc.go#L168 if semver.Compare(clusterVersion, "v4.0.13") == -1 {
if len(globalConfig)+len(instanceConfig) > 0 {
return perrs.New("server_config is only supported with TiCDC version v4.0.13 or later")
}
} |
@AstroProfundis Can you assign this issue to somebody to help us fix it? |
@srstack PTAL |
Does tiup trim "v" for "v5.4.0-nightly-20211221"? It may be related. See https://go.dev/play/p/kdSVGyxq7VF. |
@overvenus This bug is caused by @Tammyxia I have changed this bug to |
@seiya-annie |
I think this bug exists all versions of tiup. |
Yes, the nightly version number has been completed for the initconfig operation |
@seiya-annie Could you help verify if pingcap/tiup#1702 fixes the problem? |
What did you do?
cdc:
sorter.max-memory-consumption: 1073741824
What did you expect to see?
upgrade success
What did you see instead?
2021-12-30T09:17:51.941+0800 INFO Execute command finished {"code": 1, "error": "init config failed: cdc-peer:8300: server_config is only supported with TiCDC version v4.0.13 or later", "errorVerbose": "server_config is only supported with TiCDC version v4.0.13 or later\ngithub.com/pingcap/tiup/pkg/cluster/spec.(*CDCInstance).InitConfig\n\tgithub.com/pingcap/tiup/pkg/cluster/spec/cdc.go:168\ngithub.com/pingcap/tiup/pkg/cluster/task.(*InitConfig).Execute\n\tgithub.com/pingcap/tiup/pkg/cluster/task/init_config.go:51\ngithub.com/pingcap/tiup/pkg/cluster/task.(*Serial).Execute\n\tgithub.com/pingcap/tiup/pkg/cluster/task/task.go:85\ngithub.com/pingcap/tiup/pkg/cluster/task.(*Parallel).Execute.func1\n\tgithub.com/pingcap/tiup/pkg/cluster/task/task.go:142\nruntime.goexit\n\truntime/asm_amd64.s:1581\ninit config failed: cdc-peer:8300"}
Versions of the cluster
Upstream TiDB cluster version (execute
SELECT tidb_version();
in a MySQL client):(paste TiDB cluster version here)
TiCDC version (execute
cdc version
):[release-version=v5.2.3] [git-hash=a04ddac9fe83c8bdff267e4c44150060ea05f5ec] [git-branch=heads/refs/tags/v5.2.3] [utc-build-time="2021-11-26 07:39:58"] [go-version="go version go1.16.4 linux/amd64"]
(paste TiCDC version here)
The text was updated successfully, but these errors were encountered: