Skip to content

ticdc: Removed error type detection in CheckIsTiDB #11213

@hongyunyan

Description

@hongyunyan

Different downstreams will have different error messages for "select tidb_version()". We cannot provide a complete error whitelist in CheckIsTiDB.
Considering that we just want to know whether the downstream is tidb, the specific error cause is not very important. Therefore, we can directly output error information for all errors instead of returning errors.

Metadata

Metadata

Assignees

Labels

affects-6.5This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.area/ticdcIssues or PRs related to TiCDC.report/customerCustomers have encountered this bug.type/enhancementThe issue or PR belongs to an enhancement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions