pingcap / tidb-tools

tidb-tools are some useful tool collections for TiDB.
Apache License 2.0
286 stars 190 forks source link

sync-diff-inspector : don't compare the partition attribute of schema #739

Open knull-cn opened 11 months ago

knull-cn commented 11 months ago

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? If possible, provide a recipe for reproducing the error. compare the schema, partition table, different partitions of upstream and downstream

    # upstream
    create table t(c1 int, c2 int) partition by hash(`c1`) partitions **11**;
    # downstream
    create table t(c1 int, c2 int) partition by hash(`c1`) partitions **5**;
  2. What did you expect to see? Show the different table list, we can find the t

  3. What did you see instead? We can not find the table t in different table list

  4. What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)? v6.5.2

  5. which tool are you using? sync-diff-inspector

  6. what versionof tool are you using (pump -V or tidb-lightning -V or syncer -V)? v6.5.2

dveeden commented 3 months ago

cc @mjonss

dveeden commented 3 months ago

Still an issue with:

$ ./bin/sync_diff_inspector -V
App Name: sync_diff_inspector v2.0
Release Version: v8.1.0
Git Commit Hash: a005a9426f5bd82664907b97344f4255fc8608b1
Git Branch: HEAD
UTC Build Time: 2024-05-24 09:26:23
Go Version: go1.22.3