dtle icon indicating copy to clipboard operation
dtle copied to clipboard

Continuous gtidSet vs loop replication

Open c0494133d4 opened this issue 4 years ago • 1 comments

A B
exec tx
exec tx
and write gtid_executed
found tx.osid=A
skip the executed tx

  • We need to update meta gtid, to make gtid continuous
  • We should not write gtid_executed for a skipped tx, or it will loop forever

c0494133d4 avatar Feb 22 '21 08:02 c0494133d4

When restarting dtle, the job continues from meta gtid (consul), which is continuous. Then dtle.gtid_executed table will be read and the gtidSet is merged into meta gtid, which might cause temporary intermissions in meta gtid.

ghost avatar Feb 22 '21 08:02 ghost

Should have been fixed since 7bdc965a.

ghost avatar Sep 22 '22 10:09 ghost