github.com/pingcap/br@v5.3.0-alpha.0.20220125034240-ec59c7b6ce30+incompatible/tests/lightning_duplicate_detection/config2.toml (about) 1 [tikv-importer] 2 backend = "local" 3 duplicate-detection = true 4 5 [checkpoint] 6 enable = true 7 schema = "tidb_lightning_checkpoint2" 8 driver = "mysql" 9 10 [[mydumper.files]] 11 pattern = '(?i).*(-schema-trigger|-schema-post)\.sql$' 12 type = 'ignore' 13 14 [[mydumper.files]] 15 pattern = '(?i)^(?:[^/]*/)*([^/.]+)-schema-create\.sql$' 16 schema = '$1' 17 type = 'schema-schema' 18 19 [[mydumper.files]] 20 pattern = '(?i)^(?:[^/]*/)*([^/.]+)\.(.*?)-schema\.sql$' 21 schema = '$1' 22 table = '$2' 23 type = 'table-schema' 24 25 [[mydumper.files]] 26 pattern = '(?i)^(?:[^/]*/)*([^/.]+)\.(.*?)\.1\.sql$' 27 schema = '$1' 28 table = '$2' 29 key = '1' 30 type = 'sql'