This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
When upstream has gap in GTID sets, switching enable-gtid
from OFF to ON will fail the synchronization
#1814
Labels
affected-v2.0.4
this issue/BUG affects v2.0.4
affected-v2.0.5
this issue/BUG affects v2.0.5
affected-v2.0.6
this issue/BUG affects v2.0.6
severity/minor
type/bug
This issue is a bug report
Bug Report
Please answer these questions before submitting your issue. Thanks!
dm worker error log:
mysql binlog info:
query-status 03 syncerbinloggtid info:

"unresolvedDDLLockID": "", "sync": { "totalEvents": "0", "totalTps": "0", "recentTps": "0", "masterBinlog": "(mysql-bin.074545, 417140060)", "masterBinlogGtid": "148da50a-935f-11ea-9456-0ecb2cc2c6f2:1-26025771647,5ba91a4e-2b16-11eb-8406-0af8ee284d60:1-43991284520,903b8ce1-9357-11ea-a7af-0eac1754e2d4:1-7,f5cdfc8b-2b15-11eb-ba43-0a342fdb5c6c:1-21093139382", "syncerBinlog": "(mysql-bin.074534, 999293514)", "syncerBinlogGtid": "148da50a-935f-11ea-9456-0ecb2cc2c6f2:23174871189-26025771647,5ba91a4e-2b16-11eb-8406-0af8ee284d60:1-43991284520,f5cdfc8b-2b15-11eb-ba43-0a342fdb5c6c:1-21082962932",
mysql binlog 74534 :
mysql master status & purged info:

What did you expect to see?
replication is stop, and error is 'gtid is purged'
What did you see instead?
task is running
Versions of the cluster
DM version (run
dmctl -V
ordm-worker -V
ordm-master -V
):v2.0.4
Upstream MySQL/MariaDB server version:
5.7-percona
Downstream TiDB cluster version (execute
SELECT tidb_version();
in a MySQL client):v4.0.10
How did you deploy DM: DM-Ansible or manually?
tiup
Other interesting information (system version, hardware config, etc):
current status of DM cluster (execute
query-status
in dmctl)task 3 is paused
Operation logs
dm-worker.log
for every DM-worker instance if possibledm-master.log
if possibleConfiguration of the cluster and the task
dm-worker.toml
for every DM-worker instance if possibledm-master.toml
for DM-master if possibletask.yaml
if possibleinventory.ini
if deployed by DM-Ansibleadd
enable-gtid: true
to3
source fileScreenshot/exported-PDF of Grafana dashboard or metrics' graph in Prometheus for DM if possible
no
The text was updated successfully, but these errors were encountered: