Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-5591

Traditional snapshot process setting source.ts_ms

XMLWordPrintable

      Bug report

      With Traditional snapshot process. `source.ts_ms` value is increasing as the records are fetched from database. this is causing out of order events and causing older version of a data to be represented with new TS .
      see zulip thread

      What Debezium connector do you use and what version?

      1.9.X

      What is the captured database version and mode of depoyment?

      Mysql

      What behaviour do you expect?

      `source.ts_ms` should be static and set before the data export starts.

      What behavior do you see?

      currently its assigned by the time record is emitted.

      Implementation ideas

      • use 0 for snapshot `r` events
      • take TS at the start of table snapshot and use it for all records that of table.

            Unassigned Unassigned
            ismailsimsek ismail simsek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: