You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so tidbVersionRegex.FindString(versionStr) will return an empty slice and taking [1:] will crash the program.
Since this function is dealing with GC Safepoint with the PD API, it should ask PD for the version rather than TiDB. Or simply run UpdateServiceGCSafePoint directly and fallback to "unsupported" once we get codes.Unimplemented.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. What did you do?
server-version
of a TiDB server to99.7.25-TiDB-v6.1
sync-diff-inspector
with this server involved2. What did you expect to see?
Sync-diff-inspector completes successfully.
3. What did you see instead?
Panicked on this line:
tidb-tools/sync_diff_inspector/utils/pd.go
Line 180 in 00998a9
4. What version of TiDB are you using (
tidb-server -V
or runselect tidb_version();
on TiDB)?5. which tool are you using?
sync-diff-inspector
6. what versionof tool are you using (
pump -V
ortidb-lightning -V
orsyncer -V
)?v6.1.1
The text was updated successfully, but these errors were encountered: