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
Is your feature request related to a problem? Please describe:
Currently sync-diff-inspector does not support checking streams that are actively being read/written from. This is a problem, since it can't be used for TiCDC consistency checking. There is a FR to do online checksumming here: pingcap/dm#1097
However, if the source and destination are TiDB this is not the best way to do this. Instead, syncpoint (experimental) can be used. The source and destination can be set to use a tidb_snapshot to consistently compare.
Describe the feature you'd like:
My feature request is to "auto position" the snapshot which is used to compare, based on reading the most recently entry from the syncpoint table.
The alternative is to generate config files each time to use for compare. But it's a pretty straight forward use case so I'm hoping support can be built in.
The text was updated successfully, but these errors were encountered:
morgo
changed the title
sync-diff-inspector: auto position tidb_snapshot from last syncer point
sync-diff-inspector: auto position tidb_snapshot from last syncpoint
Jul 20, 2022
Feature Request
Is your feature request related to a problem? Please describe:
Currently sync-diff-inspector does not support checking streams that are actively being read/written from. This is a problem, since it can't be used for TiCDC consistency checking. There is a FR to do online checksumming here: pingcap/dm#1097
However, if the source and destination are TiDB this is not the best way to do this. Instead, syncpoint (experimental) can be used. The source and destination can be set to use a tidb_snapshot to consistently compare.
Describe the feature you'd like:
My feature request is to "auto position" the
snapshot
which is used to compare, based on reading the most recently entry from the syncpoint table.For example, given the following config:
sync-diff-inspector will automatically run the following query on
target-instance
and apply primary_ts to source and secondary_ts to target.This will save a lot of config file editing.
Describe alternatives you've considered:
The alternative is to generate config files each time to use for compare. But it's a pretty straight forward use case so I'm hoping support can be built in.
Teachability, Documentation, Adoption, Migration Strategy:
The text was updated successfully, but these errors were encountered: